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

Unified Diff: android_webview/native/aw_picture.cc

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.cc
diff --git a/android_webview/native/aw_picture.cc b/android_webview/native/aw_picture.cc
index bb6e0f5ac4187a5064e3bb0fc0a200db52e223cc..cbce8daa9ef07700ba248c89296a77aba679388a 100644
--- a/android_webview/native/aw_picture.cc
+++ b/android_webview/native/aw_picture.cc
@@ -11,8 +11,8 @@
namespace android_webview {
-AwPicture::AwPicture(skia::RefPtr<SkPicture> picture)
- : picture_(picture) {
+AwPicture::AwPicture(sk_sp<SkPicture> picture)
+ : picture_(std::move(picture)) {
DCHECK(picture_);
}

Powered by Google App Engine
This is Rietveld 408576698