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

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

Issue 2787683002: cleanup: Cleanup the TileImageInt APIs (Closed)
Patch Set: Created 3 years, 9 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 | « no previous file | chrome/browser/ui/views/frame/glass_browser_frame_view.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/frame/browser_header_painter_ash.cc
diff --git a/chrome/browser/ui/views/frame/browser_header_painter_ash.cc b/chrome/browser/ui/views/frame/browser_header_painter_ash.cc
index cd417c74d39b13c9d079a5555a30a9382103f4f9..3db414ddd9b776a0cd19779e69b1b394628d46a9 100644
--- a/chrome/browser/ui/views/frame/browser_header_painter_ash.cc
+++ b/chrome/browser/ui/views/frame/browser_header_painter_ash.cc
@@ -82,7 +82,7 @@ void PaintFrameImagesInRoundRect(gfx::Canvas* canvas,
} else if (frame_overlay_image.isNull()) {
flags.setAlpha(alpha);
canvas->TileImageInt(frame_image, image_inset_x, 0, 0, 0, bounds.width(),
- bounds.height(), &flags);
+ bounds.height(), 1.0f, &flags);
} else {
flags.setAlpha(alpha);
canvas->SaveLayerWithFlags(flags);
« no previous file with comments | « no previous file | chrome/browser/ui/views/frame/glass_browser_frame_view.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698