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

Unified Diff: chrome/browser/views/tab_contents/tab_contents_view_win.cc

Issue 159040: Fix another d&d crash that happens when the tab contents (Closed)
Patch Set: revise comment Created 11 years, 5 months 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
« no previous file with comments | « chrome/browser/tab_contents/web_drag_source.cc ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/views/tab_contents/tab_contents_view_win.cc
diff --git a/chrome/browser/views/tab_contents/tab_contents_view_win.cc b/chrome/browser/views/tab_contents/tab_contents_view_win.cc
index 543cff4b1a2cfcd6ae6d1e50fc9c368086e0f3cd..cd785d6460334e2a2ffcc5e106754896e6ba2c31 100644
--- a/chrome/browser/views/tab_contents/tab_contents_view_win.cc
+++ b/chrome/browser/views/tab_contents/tab_contents_view_win.cc
@@ -178,8 +178,7 @@ void TabContentsViewWin::StartDragging(const WebDropData& drop_data) {
if (!drop_data.plain_text.empty())
data->SetString(drop_data.plain_text);
- drag_source_ = new WebDragSource(GetNativeView(),
- tab_contents()->render_view_host());
+ drag_source_ = new WebDragSource(GetNativeView(), tab_contents());
DWORD effects;
« no previous file with comments | « chrome/browser/tab_contents/web_drag_source.cc ('k') | webkit/glue/webview_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698