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

Unified Diff: ui/gfx/canvas.h

Issue 2770943004: cros: Fix browser header wrongly drawn frame image (Closed)
Patch Set: do not eliminate the last TileImageInt 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 | « chrome/browser/ui/views/frame/browser_header_painter_ash.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 5314e5d37d458c74ce41da3fe801090e9072d76b..993c000b0745c5a931e81eb0fa9f48f0593ff47d 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -424,7 +424,8 @@ class GFX_EXPORT Canvas {
int dest_x,
int dest_y,
int w,
- int h);
+ int h,
+ cc::PaintFlags* flags = nullptr);
void TileImageInt(const ImageSkia& image,
int src_x,
int src_y,
@@ -433,7 +434,8 @@ class GFX_EXPORT Canvas {
int dest_x,
int dest_y,
int w,
- int h);
+ int h,
+ cc::PaintFlags* flags = nullptr);
// Helper for TileImageInt(). Initializes |flags| for tiling |image| with the
// given parameters. Returns false if the provided image does not have a
« no previous file with comments | « chrome/browser/ui/views/frame/browser_header_painter_ash.cc ('k') | ui/gfx/canvas.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698