Index: third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h |
diff --git a/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h b/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h |
index 1455f8e63fa45020efca3661ba1e52d3b5c2892d..d653b5ff62b7d9c74e5b3c0ecdf790a9b0a2101b 100644 |
--- a/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h |
+++ b/third_party/WebKit/Source/platform/graphics/paint/SkPictureBuilder.h |
@@ -8,8 +8,8 @@ |
#include "platform/PlatformExport.h" |
#include "platform/geometry/FloatRect.h" |
#include "platform/graphics/paint/DisplayItemClient.h" |
+#include "third_party/skia/include/core/SkRefCnt.h" |
#include "wtf/Noncopyable.h" |
-#include "wtf/PassRefPtr.h" |
#include <memory> |
class SkMetaData; |
@@ -36,7 +36,7 @@ public: |
// Returns a picture capturing all drawing performed on the builder's context since |
// construction. |
- PassRefPtr<SkPicture> endRecording(); |
+ sk_sp<SkPicture> endRecording(); |
// DisplayItemClient methods |
String debugName() const final { return "SkPictureBuilder"; } |