Fix emulator build error 30/308930/2 submit/tizen/20240403.160016
authorwangjing <jing124.wang@samsung.com>
Wed, 3 Apr 2024 01:23:41 +0000 (09:23 +0800)
committerBot Blink <blinkbot@samsung.com>
Wed, 3 Apr 2024 09:59:23 +0000 (09:59 +0000)
Fix patch: https://review.tizen.org/gerrit/308656

Change-Id: I78c464bda942f8ee3be96ccad8554ab6e651e279
Signed-off-by: wangjing <jing124.wang@samsung.com>
content/browser/renderer_host/render_widget_host_view_aura.cc

index 584a022..a3d24c3 100644 (file)
@@ -489,6 +489,13 @@ bool RenderWidgetHostViewAura::IsMultiviewMode() {
 }
 #endif
 
+void RenderWidgetHostViewAura::DidMoveWebView() {
+#if defined(TIZEN_VIDEO_HOLE)
+  if (!on_webview_moved_callback_.is_null())
+    on_webview_moved_callback_.Run();
+#endif
+}
+
 void RenderWidgetHostViewAura::SetSize(const gfx::Size& size) {
   // For a SetSize operation, we don't care what coordinate system the origin
   // of the window is in, it's only important to make sure that the origin
@@ -2345,11 +2352,6 @@ void RenderWidgetHostViewAura::FocusedNodeChanged(
 }
 
 #if defined(TIZEN_VIDEO_HOLE)
-void RenderWidgetHostViewAura::DidMoveWebView() {
-  if (!on_webview_moved_callback_.is_null())
-    on_webview_moved_callback_.Run();
-}
-
 void RenderWidgetHostViewAura::SetWebViewMovedCallback(
   const base::RepeatingClosure on_webview_moved) {
   on_webview_moved_callback_ = std::move(on_webview_moved);