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

Unified Diff: content/browser/web_contents/web_contents_view_aura.cc

Issue 11269022: Add Vector2d classes that represent offsets, instead of using Point. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: RenderText fixup 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: content/browser/web_contents/web_contents_view_aura.cc
diff --git a/content/browser/web_contents/web_contents_view_aura.cc b/content/browser/web_contents/web_contents_view_aura.cc
index c50f0169e80756d3a7c51edf6ce249ae6ef2ffc7..6a03aadc48389d848ba9c9159b6eaf98398b01ae 100644
--- a/content/browser/web_contents/web_contents_view_aura.cc
+++ b/content/browser/web_contents/web_contents_view_aura.cc
@@ -437,7 +437,7 @@ void WebContentsViewAura::StartDragging(
const WebDropData& drop_data,
WebKit::WebDragOperationsMask operations,
const gfx::ImageSkia& image,
- const gfx::Point& image_offset) {
+ const gfx::Vector2d& image_offset) {
aura::RootWindow* root_window = GetNativeView()->GetRootWindow();
if (!aura::client::GetDragDropClient(root_window))
return;

Powered by Google App Engine
This is Rietveld 408576698