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

Unified Diff: android_webview/native/aw_picture.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: 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: android_webview/native/aw_picture.h
diff --git a/android_webview/native/aw_picture.h b/android_webview/native/aw_picture.h
index 409a255a10aea80b83b01c6bbc729def62780ef0..84a0e65e8578312f3a068fe994604f30962f0e07 100644
--- a/android_webview/native/aw_picture.h
+++ b/android_webview/native/aw_picture.h
@@ -13,7 +13,7 @@
#include "base/android/scoped_java_ref.h"
#include "base/macros.h"
#include "content/public/browser/web_contents_observer.h"
-#include "skia/ext/refptr.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
class SkPicture;
@@ -21,7 +21,7 @@ namespace android_webview {
class AwPicture {
public:
- AwPicture(skia::RefPtr<SkPicture> picture);
+ AwPicture(sk_sp<SkPicture> picture);
~AwPicture();
// Methods called from Java.
@@ -33,7 +33,7 @@ class AwPicture {
const base::android::JavaParamRef<jobject>& canvas);
private:
- skia::RefPtr<SkPicture> picture_;
+ sk_sp<SkPicture> picture_;
DISALLOW_IMPLICIT_CONSTRUCTORS(AwPicture);
};

Powered by Google App Engine
This is Rietveld 408576698