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

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

Issue 1939783002: Remove all uses of skia::RefPtr and stale includes (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Florin's nits Created 4 years, 8 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/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 ea7676a1c39a7c93a907cecb3113b8f69570b02d..28a0d2ec2fc133d34e340921ec8f4e2c0c26c725 100644
--- a/chrome/browser/android/compositor/layer/crushed_sprite_layer.h
+++ b/chrome/browser/android/compositor/layer/crushed_sprite_layer.h
@@ -7,6 +7,10 @@
#include "base/macros.h"
#include "chrome/browser/android/compositor/layer/layer.h"
+#include "third_party/skia/include/core/SkBitmap.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
+
+class SkCanvas;
namespace cc {
class UIResourceLayer;
@@ -46,7 +50,7 @@ class CrushedSpriteLayer : public Layer {
// Draws the rectangles for |frame| to |canvas|.
void DrawRectanglesForFrame(ui::CrushedSpriteResource* resource,
int frame,
- skia::RefPtr<SkCanvas> canvas);
+ sk_sp<SkCanvas> canvas);
scoped_refptr<cc::UIResourceLayer> layer_;
int frame_count_;
« no previous file with comments | « chrome/browser/android/compositor/decoration_title.h ('k') | chrome/browser/android/compositor/layer/crushed_sprite_layer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698