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

Unified Diff: content/child/npapi/webplugin_delegate_impl_win.cc

Issue 659883002: Enable hidpi on Linux, refactor a bit on Windows to share Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: constants Created 6 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/child/npapi/webplugin_delegate_impl_win.cc
diff --git a/content/child/npapi/webplugin_delegate_impl_win.cc b/content/child/npapi/webplugin_delegate_impl_win.cc
index f570c7c29de53666f1dd0a0761fc52be8d669d2e..17ca139c3dda6a812ce0d3fc9c002845fe731e6f 100644
--- a/content/child/npapi/webplugin_delegate_impl_win.cc
+++ b/content/child/npapi/webplugin_delegate_impl_win.cc
@@ -32,7 +32,7 @@
#include "content/public/common/content_constants.h"
#include "skia/ext/platform_canvas.h"
#include "third_party/WebKit/public/web/WebInputEvent.h"
-#include "ui/gfx/win/dpi.h"
+#include "ui/gfx/dpi.h"
#include "ui/gfx/win/hwnd_util.h"
using blink::WebKeyboardEvent;
@@ -762,8 +762,8 @@ bool WebPluginDelegateImpl::WindowedReposition(
return false;
}
- gfx::Rect window_rect = gfx::win::DIPToScreenRect(window_rect_in_dip);
- gfx::Rect clip_rect = gfx::win::DIPToScreenRect(clip_rect_in_dip);
+ gfx::Rect window_rect = gfx::DIPToScreenRect(window_rect_in_dip);
+ gfx::Rect clip_rect = gfx::DIPToScreenRect(clip_rect_in_dip);
if (window_rect_ == window_rect && clip_rect_ == clip_rect)
return false;

Powered by Google App Engine
This is Rietveld 408576698