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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.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/fonts/FontCustomPlatformData.h
diff --git a/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h b/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h
index 022879b2a7991960bcc17f3e84997ecfa49f1322..0deab5a309d0c71293da792380fec5454e66fd9d 100644
--- a/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h
+++ b/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h
@@ -34,10 +34,10 @@
#include "platform/PlatformExport.h"
#include "platform/fonts/FontOrientation.h"
+#include "third_party/skia/include/core/SkRefCnt.h"
#include "wtf/Allocator.h"
#include "wtf/Forward.h"
#include "wtf/Noncopyable.h"
-#include "wtf/RefPtr.h"
#include "wtf/text/WTFString.h"
#include <memory>
@@ -60,8 +60,8 @@ public:
static bool supportsFormat(const String&);
private:
- explicit FontCustomPlatformData(PassRefPtr<SkTypeface>);
- RefPtr<SkTypeface> m_typeface;
+ explicit FontCustomPlatformData(sk_sp<SkTypeface>);
+ sk_sp<SkTypeface> m_typeface;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698