mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Removed some dead code.
This commit is contained in:
@@ -107,27 +107,9 @@ namespace loot {
|
||||
CefRefPtr<CefFrame> frame,
|
||||
CefRefPtr<CefV8Context> context) {
|
||||
|
||||
_context = context;
|
||||
|
||||
// Register javascript functions.
|
||||
message_router_->OnContextCreated(browser, frame, context);
|
||||
}
|
||||
|
||||
void LootApp::OnContextReleased(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
CefRefPtr<CefV8Context> context) {
|
||||
|
||||
_context = NULL;
|
||||
}
|
||||
|
||||
void LootApp::InitJSVars() {
|
||||
BOOST_LOG_TRIVIAL(debug) << "Populating JS object variable initial values.";
|
||||
|
||||
if (_context == NULL)
|
||||
return;
|
||||
|
||||
|
||||
}
|
||||
|
||||
// LootState member functions
|
||||
//---------------------------
|
||||
|
||||
@@ -59,14 +59,6 @@ namespace loot {
|
||||
CefRefPtr<CefFrame> frame,
|
||||
CefRefPtr<CefV8Context> context) OVERRIDE;
|
||||
|
||||
virtual void OnContextReleased(CefRefPtr<CefBrowser> browser,
|
||||
CefRefPtr<CefFrame> frame,
|
||||
CefRefPtr<CefV8Context> context) OVERRIDE;
|
||||
|
||||
void InitJSVars();
|
||||
|
||||
CefRefPtr<CefV8Context> _context;
|
||||
|
||||
IMPLEMENT_REFCOUNTING(LootApp);
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user