24 lines
1.2 KiB
Diff
24 lines
1.2 KiB
Diff
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
|
|
index 984fa41d064c..28c018d9fbfc 100644
|
|
--- a/content/browser/web_contents/web_contents_view_aura.cc
|
|
+++ b/content/browser/web_contents/web_contents_view_aura.cc
|
|
@@ -609,6 +609,7 @@ gfx::NativeView WebContentsViewAura::GetRenderWidgetHostViewParent() const {
|
|
|
|
bool WebContentsViewAura::IsValidDragTarget(
|
|
RenderWidgetHostImpl* target_rwh) const {
|
|
+ return true;
|
|
return target_rwh->GetProcess()->GetID() == drag_start_process_id_ ||
|
|
GetRenderViewHostID(web_contents_->GetRenderViewHost()) !=
|
|
drag_start_view_id_;
|
|
diff --git a/content/browser/web_contents/web_drag_dest_mac.mm b/content/browser/web_contents/web_drag_dest_mac.mm
|
|
index cec3bd8a97b8..7a2b4462bd44 100644
|
|
--- a/content/browser/web_contents/web_drag_dest_mac.mm
|
|
+++ b/content/browser/web_contents/web_drag_dest_mac.mm
|
|
@@ -348,6 +348,7 @@ GetRenderWidgetHostAtPoint:(const NSPoint&)viewPoint
|
|
}
|
|
|
|
- (bool)isValidDragTarget:(content::RenderWidgetHostImpl*)targetRWH {
|
|
+ return YES;
|
|
return targetRWH->GetProcess()->GetID() == dragStartProcessID_ ||
|
|
GetRenderViewHostID(webContents_->GetRenderViewHost()) !=
|
|
dragStartViewID_;
|