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

Unified Diff: ash/shell/toplevel_window.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/lock_view.cc ('k') | ash/shell/widgets.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/shell/toplevel_window.cc
diff --git a/ash/shell/toplevel_window.cc b/ash/shell/toplevel_window.cc
index 9eb9d908ea7f022e18f6c1f4b3e7ce2e3202869b..78120fdb663cd0812c76ef8f131e1472656558b4 100644
--- a/ash/shell/toplevel_window.cc
+++ b/ash/shell/toplevel_window.cc
@@ -34,7 +34,7 @@ ToplevelWindow::~ToplevelWindow() {
}
void ToplevelWindow::OnPaint(gfx::Canvas* canvas) {
- canvas->FillRect(SK_ColorDKGRAY, GetLocalBounds());
+ canvas->FillRect(GetLocalBounds(), SK_ColorDKGRAY);
}
string16 ToplevelWindow::GetWindowTitle() const {
« no previous file with comments | « ash/shell/lock_view.cc ('k') | ash/shell/widgets.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698