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

Unified Diff: third_party/WebKit/Source/platform/image-decoders/SegmentReader.h

Issue 2290903002: Change (Pass)RefPtr<SkXxx> into sk_sp<SkXxx>. (Closed)
Patch Set: Rebasing... Created 4 years, 3 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: third_party/WebKit/Source/platform/image-decoders/SegmentReader.h
diff --git a/third_party/WebKit/Source/platform/image-decoders/SegmentReader.h b/third_party/WebKit/Source/platform/image-decoders/SegmentReader.h
index d76925402d80d36145cf4fe40fb88a747a0f3baf..307ebfa44fcd9bc045cd2cb58e639b9d75933828 100644
--- a/third_party/WebKit/Source/platform/image-decoders/SegmentReader.h
+++ b/third_party/WebKit/Source/platform/image-decoders/SegmentReader.h
@@ -8,6 +8,7 @@
#include "platform/SharedBuffer.h"
#include "third_party/skia/include/core/SkData.h"
#include "third_party/skia/include/core/SkRWBuffer.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
#include "wtf/Noncopyable.h"
#include "wtf/PassRefPtr.h"
#include "wtf/ThreadSafeRefCounted.h"
@@ -35,7 +36,7 @@ public:
// These versions use thread-safe input, so they are always thread-safe.
static PassRefPtr<SegmentReader> createFromSkData(sk_sp<SkData>);
- static PassRefPtr<SegmentReader> createFromSkROBuffer(PassRefPtr<SkROBuffer>);
+ static PassRefPtr<SegmentReader> createFromSkROBuffer(sk_sp<SkROBuffer>);
SegmentReader() {}
virtual ~SegmentReader() {}

Powered by Google App Engine
This is Rietveld 408576698