[Bringup] Handle nonexistent function in chromium v56.0.2924.0 35/142835/1
authorYoungsoo Choi <kenshin.choi@samsung.com>
Wed, 2 Aug 2017 06:14:29 +0000 (06:14 +0000)
committerYoungsoo Choi <kenshin.choi@samsung.com>
Mon, 7 Aug 2017 05:14:24 +0000 (05:14 +0000)
The SystemDragEnded's parameters are different
between chromium v56.0.2924.0 and v56.0.2924.87.

Following patches need to be migarated from opensource to chromium-efl.
Until then, this guards the function.

Drag-and-drop: Target drag messages to specific RenderWidgets.
https://codereview.chromium.org/2505113002

Drag-and-drop: Target drag messages (the sequel).
https://codereview.chromium.org/2509933002

Change-Id: I1d5aa24826936d30fc293c67380dda8cd1aacb08
Signed-off-by: Youngsoo Choi <kenshin.choi@samsung.com>
atom/browser/osr/osr_web_contents_view.cc

index 0d9c527..ccfcac8 100644 (file)
@@ -143,8 +143,14 @@ void OffScreenWebContentsView::StartDragging(
     const gfx::Vector2d& image_offset,
     const content::DragEventSourceInfo& event_info,
     content::RenderWidgetHostImpl* source_rwh) {
+  // FIXME: SystemDragEnded related patches need to be migrated
+  //        from opensource to chromium-efl.
+#if defined(USE_EFL)
+  NOTIMPLEMENTED();
+#else
   if (web_contents_)
     web_contents_->SystemDragEnded(source_rwh);
+#endif
 }
 
 void OffScreenWebContentsView::UpdateDragCursor(