diff --git a/src/gui/app.cpp b/src/gui/app.cpp index a5bf068f..0c3ebbf2 100644 --- a/src/gui/app.cpp +++ b/src/gui/app.cpp @@ -107,27 +107,9 @@ namespace loot { CefRefPtr frame, CefRefPtr context) { - _context = context; - // Register javascript functions. message_router_->OnContextCreated(browser, frame, context); } - - void LootApp::OnContextReleased(CefRefPtr browser, - CefRefPtr frame, - CefRefPtr context) { - - _context = NULL; - } - - void LootApp::InitJSVars() { - BOOST_LOG_TRIVIAL(debug) << "Populating JS object variable initial values."; - - if (_context == NULL) - return; - - - } // LootState member functions //--------------------------- diff --git a/src/gui/app.h b/src/gui/app.h index 9f8e26c3..fddb62e0 100644 --- a/src/gui/app.h +++ b/src/gui/app.h @@ -59,14 +59,6 @@ namespace loot { CefRefPtr frame, CefRefPtr context) OVERRIDE; - virtual void OnContextReleased(CefRefPtr browser, - CefRefPtr frame, - CefRefPtr context) OVERRIDE; - - void InitJSVars(); - - CefRefPtr _context; - IMPLEMENT_REFCOUNTING(LootApp); };