fixup! [M40 Merge][Tizen3.0][WRT] Refactor ewk_send_widget_info API
authorSeungSeop Park <sns.park@samsung.com>
Tue, 12 Jan 2016 11:41:32 +0000 (20:41 +0900)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Tue, 10 Jul 2018 07:55:23 +0000 (07:55 +0000)
Patch fixes warning:
> 'EWebContext::inspector_server_' will be initialized after...
>    'double EWebContext::widget_scale_' [-Wreorder]
> 'EWebContext::m_pixmap' will be initialized after...
>    'double EWebContext::widget_scale_' [-Wreorder]

Original beta/m47 patches:
- http://165.213.202.130/gerrit/#/c/103997/
- http://165.213.202.130/gerrit/#/c/103199/

Bug: http://web.sec.samsung.net/bugzilla/show_bug.cgi?id=15496

Reviewed by: msu.koo

Change-Id: I087826db0dab99611f3b77646f559f8e912a128d
Signed-off-by: SeungSeop Park <sns.park@samsung.com>
tizen_src/ewk/efl_integration/eweb_context.cc

index 8d41b73..a6c8541 100644 (file)
@@ -237,9 +237,9 @@ EWebContext::EWebContext(const std::string& injectedBundlePath)
 
 EWebContext::EWebContext(bool incognito, const std::string& injectedBundlePath)
     : injected_bundle_path_(injectedBundlePath),
+      widget_scale_(0),
       m_pixmap(0),
-      inspector_server_(NULL),
-      widget_scale_(0) {
+      inspector_server_(NULL) {
   CHECK(EwkGlobalData::GetInstance());
 
   // WRT does not really care about incognito, so set it to false