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

Unified Diff: chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc

Issue 8681001: Revert 111288 - Possibly broke media_unittests on Mac (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month 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: chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc
===================================================================
--- chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc (revision 111322)
+++ chrome/browser/ui/views/frame/app_panel_browser_frame_view.cc (working copy)
@@ -450,11 +450,11 @@
client_area_top, left->width(), client_area_height);
// Draw the toolbar color to fill in the edges.
- canvas->DrawRect(gfx::Rect(client_area_bounds.x() - kClientEdgeThickness,
- client_area_top - kClientEdgeThickness,
- client_area_bounds.width() + kClientEdgeThickness,
- client_area_bottom - client_area_top + kClientEdgeThickness),
- ui::ResourceBundle::toolbar_color);
+ canvas->DrawRectInt(ResourceBundle::toolbar_color,
+ client_area_bounds.x() - kClientEdgeThickness,
+ client_area_top - kClientEdgeThickness,
+ client_area_bounds.width() + kClientEdgeThickness,
+ client_area_bottom - client_area_top + kClientEdgeThickness);
}
void AppPanelBrowserFrameView::LayoutWindowControls() {
« no previous file with comments | « chrome/browser/ui/views/autocomplete/autocomplete_popup_contents_view.cc ('k') | chrome/browser/ui/views/tabs/tab.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698