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&, |