Removing ewk_context_default_get call 31/46231/2 accepted/tizen/tv/20150819.235910 submit/tizen_tv/20150819.233112
authorJanusz Majnert <j.majnert@samsung.com>
Tue, 18 Aug 2015 07:40:57 +0000 (09:40 +0200)
committerJanusz Majnert <j.majnert@samsung.com>
Wed, 19 Aug 2015 13:06:48 +0000 (06:06 -0700)
[Issue#] N/A
[Problem] Call to internal EWK API
[Cause] Code restored during branch merge
[Solution] Remove the call, it is not needed
[Verify] Build and run the browser, load a few tabs, close tabs

The call to ewk_context_default get was restored by mistake when performing a
merge between branches. The version in tizen branch had the code replaced with
another method to implicitly initialize EWK internal contexts.

Change-Id: If21dcc4ca40242786c22e80b7a5591a70c56ecfb

services/SimpleUI/SimpleUI.cpp

index 05826d3..4cf12a4 100644 (file)
@@ -76,7 +76,6 @@ SimpleUI::SimpleUI()
     , m_ewkContext(ewk_context_new())
 {
     elm_init(0, nullptr);
-    ewk_context_default_get();
     Evas_Object *main_window = elm_win_util_standard_add("browserApp", "browserApp");
     if (main_window == nullptr)
         BROWSER_LOGE("Failed to create main window");