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

Unified Diff: third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.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/graphics/DrawLooperBuilder.h
diff --git a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.h b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.h
index eeb03dfd87f493f6a68839f4e211fc4cb42a9410..6a92e8d34c44b9daa6c812d049f042daf2ed1396 100644
--- a/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.h
+++ b/third_party/WebKit/Source/platform/graphics/DrawLooperBuilder.h
@@ -32,10 +32,10 @@
#define DrawLooperBuilder_h
#include "platform/PlatformExport.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
#include "third_party/skia/include/effects/SkLayerDrawLooper.h"
#include "wtf/Allocator.h"
#include "wtf/Noncopyable.h"
-#include "wtf/PassRefPtr.h"
#include <memory>
class SkDrawLooper;
@@ -68,7 +68,7 @@ public:
// Creates the SkDrawLooper and passes ownership to the caller. The builder
// should not be used any more after calling this method.
- PassRefPtr<SkDrawLooper> detachDrawLooper();
+ sk_sp<SkDrawLooper> detachDrawLooper();
void addUnmodifiedContent();
void addShadow(const FloatSize& offset, float blur, const Color&,

Powered by Google App Engine
This is Rietveld 408576698