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

Unified Diff: ash/shell/widgets.cc

Issue 9021046: Pass const gfx::Rect& as the first parameter to FillRect. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: one more fix Created 8 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 | « ash/shell/toplevel_window.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/widgets.cc
diff --git a/ash/shell/widgets.cc b/ash/shell/widgets.cc
index b5de2f5bd0ea4668e5713e3c585bf2712fb6bd34..a2002bc4e56b15e5530376faccfb1b64c762aa36 100644
--- a/ash/shell/widgets.cc
+++ b/ash/shell/widgets.cc
@@ -93,7 +93,7 @@ WidgetsWindow::~WidgetsWindow() {
}
void WidgetsWindow::OnPaint(gfx::Canvas* canvas) {
- canvas->FillRect(SK_ColorWHITE, GetLocalBounds());
+ canvas->FillRect(GetLocalBounds(), SK_ColorWHITE);
}
void WidgetsWindow::Layout() {
« no previous file with comments | « ash/shell/toplevel_window.cc ('k') | ash/shell/window_type_launcher.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698