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

Unified Diff: chrome/browser/views/frame/opaque_browser_frame_view.cc

Issue 3056022: Fix glitch in rendering of the stroke at the bottom of the browser toolbar.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 10 years, 5 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
Index: chrome/browser/views/frame/opaque_browser_frame_view.cc
===================================================================
--- chrome/browser/views/frame/opaque_browser_frame_view.cc (revision 53843)
+++ chrome/browser/views/frame/opaque_browser_frame_view.cc (working copy)
@@ -848,10 +848,10 @@
// Draw the content/toolbar separator.
canvas->DrawLineInt(ResourceBundle::toolbar_separator_color,
- MirroredLeftPointForRect(toolbar_bounds),
- toolbar_bounds.bottom() - kClientEdgeThickness,
- toolbar_bounds.width() - kClientEdgeThickness,
- toolbar_bounds.bottom() - kClientEdgeThickness);
+ toolbar_bounds.x(),
+ toolbar_bounds.bottom() - kClientEdgeThickness,
+ toolbar_bounds.right(),
+ toolbar_bounds.bottom() - kClientEdgeThickness);
}
void OpaqueBrowserFrameView::PaintRestoredClientEdge(gfx::Canvas* canvas) {

Powered by Google App Engine
This is Rietveld 408576698