Fix for evasgl issue/crash in reference browser on XU3. 19/40519/1 accepted/tizen/tv/20150605.024025 submit/tizen_tv/20150604.231136
authorChandan Padhi <c.padhi@samsung.com>
Thu, 4 Jun 2015 14:47:24 +0000 (20:17 +0530)
committerChandan Padhi <c.padhi@samsung.com>
Thu, 4 Jun 2015 14:48:55 +0000 (20:18 +0530)
Change-Id: I66cb199d4f7b694771c2acd0feef035bed7d0b8a
Signed-off-by: Chandan Padhi <c.padhi@samsung.com>
services/SimpleUI/CMakeLists.txt
services/SimpleUI/SimpleUI.cpp

index 96fe02c..a180519 100644 (file)
@@ -34,6 +34,7 @@ set(SimpleUI_HEADERS
 
 include(Coreheaders)
 include(EFLHelpers)
+include(EWebKitHelpers)
 
 include_directories(${CMAKE_BINARY_DIR})
 include_directories(${CMAKE_SOURCE_DIR})
index 60c807a..29d7d7a 100644 (file)
@@ -18,7 +18,7 @@
 
 #if defined(USE_EWEBKIT)
 //#include <EWebKit2.h>
-//#include <ewk_chromium.h>
+#include <ewk_chromium.h>
 #endif
 
 #include <boost/format.hpp>
@@ -69,6 +69,7 @@ SimpleUI::SimpleUI(/*Evas_Object *window*/)
     , m_networkErrorPopup(0)
 {
     elm_init(static_cast<int>(NULL), static_cast<char**>(NULL));
+    ewk_context_default_get();
     Evas_Object *main_window = elm_win_util_standard_add("browserApp", "browserApp");
     if (main_window == NULL)
         BROWSER_LOGE("Failed to create main window");