Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: content/browser/frame_host/interstitial_page_impl.cc

Issue 2501213002: Drag-and-drop: dragSourceEndedAt, dragSourceSystemDragEnded (Closed)
Patch Set: Rebased. Added check for !GetWebWidget(). Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/frame_host/interstitial_page_impl.cc
diff --git a/content/browser/frame_host/interstitial_page_impl.cc b/content/browser/frame_host/interstitial_page_impl.cc
index 63bba94ac719e41edaae497162613ae186ff71d1..c8d1166e65bbf5b89df8d70d6335c6a70c259e23 100644
--- a/content/browser/frame_host/interstitial_page_impl.cc
+++ b/content/browser/frame_host/interstitial_page_impl.cc
@@ -884,7 +884,8 @@ void InterstitialPageImpl::InterstitialPageRVHDelegateView::StartDragging(
const gfx::ImageSkia& image,
const gfx::Vector2d& image_offset,
const DragEventSourceInfo& event_info) {
- interstitial_page_->render_view_host_->DragSourceSystemDragEnded();
+ interstitial_page_->render_view_host_->GetWidget()->
+ DragSourceSystemDragEnded();
DVLOG(1) << "InterstitialPage does not support dragging yet.";
}

Powered by Google App Engine
This is Rietveld 408576698