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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.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/core/svg/graphics/SVGImageForContainer.h
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
index 40ba819bc5ffb46ceeb6d10b729226ee90e2ec5a..694783e33c8c53a1b9047192de0eb85e0f923d51 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageForContainer.h
@@ -31,6 +31,7 @@
#include "platform/geometry/FloatSize.h"
#include "platform/graphics/Image.h"
#include "platform/weborigin/KURL.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
namespace blink {
@@ -57,7 +58,7 @@ public:
// FIXME: Implement this to be less conservative.
bool currentFrameKnownToBeOpaque(MetadataMode = UseCurrentMetadata) override { return false; }
- PassRefPtr<SkImage> imageForCurrentFrame() override;
+ sk_sp<SkImage> imageForCurrentFrame() override;
private:
SVGImageForContainer(SVGImage* image, const FloatSize& containerSize, float zoom, const KURL& url)

Powered by Google App Engine
This is Rietveld 408576698