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

Unified Diff: ui/gfx/display.cc

Issue 854713003: More old files deletion. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix tryjobs? Created 5 years, 11 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 | « ui/gfx/color_utils_unittest.cc ('k') | ui/gfx/font.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/display.cc
diff --git a/ui/gfx/display.cc b/ui/gfx/display.cc
index 3208efb32ca83fa09a53521c48f286c30b89cb23..3278456e69c593d2aebbf97dbd6200afab71ab55 100644
--- a/ui/gfx/display.cc
+++ b/ui/gfx/display.cc
@@ -127,7 +127,7 @@ void Display::SetScaleAndBounds(
void Display::SetSize(const gfx::Size& size_in_pixel) {
gfx::Point origin = bounds_.origin();
-#if defined(USE_AURA)
+#if !defined(OS_LINUX)
gfx::PointF origin_f = origin;
origin_f.Scale(device_scale_factor_);
origin.SetPoint(origin_f.x(), origin_f.y());
« no previous file with comments | « ui/gfx/color_utils_unittest.cc ('k') | ui/gfx/font.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698