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

Unified Diff: content/common/cc_messages.h

Issue 1869753003: Replace many skia::RefPtr with sk_sp<> in cc/ (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
« no previous file with comments | « chrome/browser/android/thumbnail/thumbnail_cache.cc ('k') | content/common/cc_messages.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/cc_messages.h
diff --git a/content/common/cc_messages.h b/content/common/cc_messages.h
index 0a6c213ae984074b48a2f149f7e23c24ae197664..a3649191e09c885b2a7451b194eaacbbd98cad93 100644
--- a/content/common/cc_messages.h
+++ b/content/common/cc_messages.h
@@ -67,8 +67,8 @@ struct ParamTraits<cc::FilterOperations> {
};
template <>
-struct ParamTraits<skia::RefPtr<SkImageFilter> > {
- typedef skia::RefPtr<SkImageFilter> param_type;
+struct ParamTraits<sk_sp<SkImageFilter> > {
+ typedef sk_sp<SkImageFilter> param_type;
static void Write(base::Pickle* m, const param_type& p);
static bool Read(const base::Pickle* m,
base::PickleIterator* iter,
« no previous file with comments | « chrome/browser/android/thumbnail/thumbnail_cache.cc ('k') | content/common/cc_messages.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698