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

Unified Diff: trunk/src/chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc

Issue 24262008: Revert 224473 "Remove dependency on ui::ScaleFactor from ui/gfx" (Closed) Base URL: svn://svn.chromium.org/chrome/
Patch Set: 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: trunk/src/chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc
===================================================================
--- trunk/src/chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc (revision 224498)
+++ trunk/src/chrome/browser/ui/toolbar/wrench_icon_painter_unittest.cc (working copy)
@@ -37,7 +37,7 @@
// leaks or crashes.
TEST_F(WrenchIconPainterTest, Paint) {
gfx::Rect rect(0, 0, 29, 29);
- gfx::Canvas canvas(rect.size(), 1.0f, true);
+ gfx::Canvas canvas(rect.size(), ui::SCALE_FACTOR_100P, true);
painter_.Paint(&canvas, theme_provider_, rect, WrenchIconPainter::BEZEL_NONE);
painter_.Paint(
« no previous file with comments | « trunk/src/chrome/browser/ui/metro_pin_tab_helper_win.cc ('k') | trunk/src/chrome/browser/ui/views/dropdown_bar_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698