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

Unified Diff: content/browser/web_contents/web_contents_view_win.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_win.cc
diff --git a/content/browser/web_contents/web_contents_view_win.cc b/content/browser/web_contents/web_contents_view_win.cc
index d604176bfeaec7d574928b5b4ba29f2c5dd99131..64844f11850c16ad8f6346c2da30198aefcc6a85 100644
--- a/content/browser/web_contents/web_contents_view_win.cc
+++ b/content/browser/web_contents/web_contents_view_win.cc
@@ -263,7 +263,7 @@ void WebContentsViewWin::ShowPopupMenu(const gfx::Rect& bounds,
void WebContentsViewWin::StartDragging(const WebDropData& drop_data,
WebKit::WebDragOperationsMask operations,
const gfx::ImageSkia& image,
- const gfx::Point& image_offset) {
+ const gfx::Vector2d& image_offset) {
drag_handler_ = new WebContentsDragWin(
GetNativeView(),
web_contents_,

Powered by Google App Engine
This is Rietveld 408576698