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

Unified Diff: ui/gfx/canvas.h

Issue 2770943004: cros: Fix browser header wrongly drawn frame image (Closed)
Patch Set: default parameter 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
Index: ui/gfx/canvas.h
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h
index 1c175c9b8c46eee44929121696237ee4505e6818..e4caa5fa600cd00146a7b8e66f5e65cb0ac547f7 100644
--- a/ui/gfx/canvas.h
+++ b/ui/gfx/canvas.h
@@ -443,16 +443,8 @@ class GFX_EXPORT Canvas {
int dest_x,
int dest_y,
int w,
- int h);
- void TileImageInt(const ImageSkia& image,
- int src_x,
- int src_y,
- float tile_scale_x,
- float tile_scale_y,
- 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

Powered by Google App Engine
This is Rietveld 408576698