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

Unified Diff: chrome/browser/android/compositor/layer/crushed_sprite_layer.h

Issue 2476113002: Change call-sites now that SkCanvas is not ref-counted (Closed)
Patch Set: try fixing win again Created 4 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/android/compositor/layer/crushed_sprite_layer.h
diff --git a/chrome/browser/android/compositor/layer/crushed_sprite_layer.h b/chrome/browser/android/compositor/layer/crushed_sprite_layer.h
index 5dbc5cb9275d257c8f70b050d78180e024823b0b..0b425f10dce710a49221ec841a3ab37afd21abdc 100644
--- a/chrome/browser/android/compositor/layer/crushed_sprite_layer.h
+++ b/chrome/browser/android/compositor/layer/crushed_sprite_layer.h
@@ -49,7 +49,7 @@ class CrushedSpriteLayer : public Layer {
// Draws the rectangles for |frame| to |canvas|.
void DrawRectanglesForFrame(ui::CrushedSpriteResource* resource,
int frame,
- sk_sp<SkCanvas> canvas);
+ SkCanvas* canvas);
scoped_refptr<cc::UIResourceLayer> layer_;
int frame_count_;

Powered by Google App Engine
This is Rietveld 408576698