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

Unified Diff: content/browser/renderer_host/render_widget_host_view_win.cc

Issue 8405002: ui/gfx: Convert Canvas::FillRectInt() to use gfx::Rect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: save some vertical space, interactive_ui_tests are fixed by Peter's fix Created 9 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
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | ui/aura_shell/examples/lock_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_widget_host_view_win.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc
index 21bae6ca6d487098015c1e9d2234781ac7989818..6317594212cdc621c2bce53abb8572ffb3676bd5 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.cc
+++ b/content/browser/renderer_host/render_widget_host_view_win.cc
@@ -176,7 +176,7 @@ void DrawDeemphasized(const SkColor& color,
paint_rect.y(),
SRCCOPY);
}
- canvas.FillRectInt(color, 0, 0, paint_rect.width(), paint_rect.height());
+ canvas.FillRect(color, gfx::Rect(gfx::Point(), paint_rect.size()));
skia::DrawToNativeContext(canvas.sk_canvas(), paint_dc, paint_rect.x(),
paint_rect.y(), NULL);
}
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_aura.cc ('k') | ui/aura_shell/examples/lock_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698