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

Unified Diff: third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.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/layout/svg/LayoutSVGResourcePattern.h
diff --git a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.h b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.h
index 0c180980510f19e7b35ed3754d43c69bd8ec119a..1a82e770224ef64994e3bc803f8ff1745084b384 100644
--- a/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.h
+++ b/third_party/WebKit/Source/core/layout/svg/LayoutSVGResourcePattern.h
@@ -25,8 +25,8 @@
#include "core/layout/svg/LayoutSVGResourcePaintServer.h"
#include "core/svg/PatternAttributes.h"
#include "platform/heap/Handle.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
#include "wtf/HashMap.h"
-#include "wtf/RefPtr.h"
#include <memory>
class SkPicture;
@@ -54,7 +54,7 @@ public:
private:
std::unique_ptr<PatternData> buildPatternData(const LayoutObject&);
- PassRefPtr<SkPicture> asPicture(const FloatRect& tile, const AffineTransform&) const;
+ sk_sp<SkPicture> asPicture(const FloatRect& tile, const AffineTransform&) const;
PatternData* patternForLayoutObject(const LayoutObject&);
const LayoutSVGResourceContainer* resolveContentElement() const;

Powered by Google App Engine
This is Rietveld 408576698