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

Unified Diff: ash/wm/frame_painter.cc

Issue 24175004: Remove dependency on ui::ScaleFactor from ui/gfx (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix new usage of scale in FastShowPickler Created 7 years, 3 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: ash/wm/frame_painter.cc
diff --git a/ash/wm/frame_painter.cc b/ash/wm/frame_painter.cc
index b27fc7b168c25fcdb09401b2691f4850f52e2434..0e53e33d89025b797ca636821964a5bb410e968f 100644
--- a/ash/wm/frame_painter.cc
+++ b/ash/wm/frame_painter.cc
@@ -136,7 +136,7 @@ void PaintFrameImagesInRoundRect(gfx::Canvas* canvas,
top_left_corner_radius, top_right_corner_radius, 0);
}
} else {
- gfx::Canvas temporary_canvas(bounds.size(), canvas->scale_factor(), false);
+ gfx::Canvas temporary_canvas(bounds.size(), canvas->image_scale(), false);
temporary_canvas.TileImageInt(*frame_image,
image_inset_x, 0,
0, 0,
« no previous file with comments | « ash/system/chromeos/network/network_icon.cc ('k') | chrome/browser/android/provider/chrome_browser_provider.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698