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

Unified Diff: chrome/browser/download/download_util.cc

Issue 11030017: Add context to gfx::Screen calls in support of simultaneous desktop+ash (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix other os's Created 8 years, 2 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
Index: chrome/browser/download/download_util.cc
diff --git a/chrome/browser/download/download_util.cc b/chrome/browser/download/download_util.cc
index d18d876eaf52646108b17f8b19f50102fa8a8469..169c44cfaeaed8706985d0eb75d662ac81c7b06e 100644
--- a/chrome/browser/download/download_util.cc
+++ b/chrome/browser/download/download_util.cc
@@ -363,7 +363,8 @@ void DragDownload(const DownloadItem* download,
if (!root_window || !aura::client::GetDragDropClient(root_window))
return;
- gfx::Point location = gfx::Screen::GetCursorScreenPoint();
+ gfx::Point location = gfx::Screen::GetCursorScreenPoint(
+ gfx::Screen::BadTwoWorldsContext());
aura::client::GetDragDropClient(root_window)->StartDragAndDrop(
data,
root_window,

Powered by Google App Engine
This is Rietveld 408576698