Make web engine context be a singleton.
[platform/core/uifw/dali-adaptor.git] / dali / devel-api / adaptor-framework / web-engine / web-engine.cpp
index 4176021..5a39d11 100755 (executable)
@@ -57,6 +57,16 @@ WebEngine WebEngine::New()
   return WebEngine(engine.Get());
 }
 
+Dali::WebEngineContext* WebEngine::GetContext()
+{
+  return Internal::Adaptor::WebEngine::GetContext();
+}
+
+Dali::WebEngineCookieManager* WebEngine::GetCookieManager()
+{
+  return Internal::Adaptor::WebEngine::GetCookieManager();
+}
+
 WebEngine::WebEngine(const WebEngine& webEngine)
 : BaseHandle(webEngine)
 {
@@ -101,16 +111,6 @@ Dali::WebEngineSettings& WebEngine::GetSettings() const
   return GetImplementation(*this).GetSettings();
 }
 
-Dali::WebEngineContext& WebEngine::GetContext() const
-{
-  return GetImplementation(*this).GetContext();
-}
-
-Dali::WebEngineCookieManager& WebEngine::GetCookieManager() const
-{
-  return GetImplementation(*this).GetCookieManager();
-}
-
 Dali::WebEngineBackForwardList& WebEngine::GetBackForwardList() const
 {
   return GetImplementation(*this).GetBackForwardList();