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

Unified Diff: chrome/browser/chromeos/panels/panel_scroller_header.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/wm/toplevel_frame_view.cc ('k') | chrome/browser/chromeos/status/status_area_button.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/chromeos/panels/panel_scroller_header.cc
diff --git a/chrome/browser/chromeos/panels/panel_scroller_header.cc b/chrome/browser/chromeos/panels/panel_scroller_header.cc
index 93f8a048513814de19ec68eddaa99c895d2468bb..c80794b7a5e9dec95d178db755bae33b7191367a 100644
--- a/chrome/browser/chromeos/panels/panel_scroller_header.cc
+++ b/chrome/browser/chromeos/panels/panel_scroller_header.cc
@@ -40,7 +40,7 @@ gfx::Size PanelScrollerHeader::GetPreferredSize() {
void PanelScrollerHeader::OnPaint(gfx::Canvas* canvas) {
// TODO(brettw) fill this out with real styling.
- canvas->FillRect(0xFFFFFFFF, GetLocalBounds());
+ canvas->FillRect(GetLocalBounds(), 0xFFFFFFFF);
canvas->DrawLineInt(0xFFE6E6E6, 0, size().height() - 1,
size().width(), size().height() - 1);
« no previous file with comments | « ash/wm/toplevel_frame_view.cc ('k') | chrome/browser/chromeos/status/status_area_button.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698