fixup! Code refactoring about checking the EventListener of WebView class 41/106841/2 submit/tizen_3.0/20161223.075829
authorYoungcheol Kang <ychul.kang@samsung.com>
Fri, 23 Dec 2016 07:53:05 +0000 (16:53 +0900)
committerYoungcheol Kang <ychul.kang@samsung.com>
Fri, 23 Dec 2016 07:54:17 +0000 (16:54 +0900)
This patch fixes the -fpermissive error about return-statement.

Change-Id: Id845258c1ee328f2d98cce50e1cfc21aeb9ec2a5
Signed-off-by: Youngcheol Kang <ychul.kang@samsung.com>
runtime/browser/web_view_impl.cc

index ddc4816..25b2dc3 100644 (file)
@@ -936,7 +936,7 @@ void WebViewImpl::InitRotaryEventCallback() {
                          Eext_Rotary_Event_Info* event_info) -> Eina_Bool {
     WebViewImpl* self = static_cast<WebViewImpl*>(user_data);
     if (!self->listener_)
-      return;
+      return EINA_FALSE;
 
     Eext_Rotary_Event_Info* rotary = event_info;