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

Unified Diff: third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h

Issue 2080623002: Revert "Remove OwnPtr from Blink." (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 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..dc11a4ce7ac288f625653775a0481069bdf74071 100644
--- a/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h
+++ b/third_party/WebKit/Source/platform/fonts/FontCustomPlatformData.h
@@ -39,7 +39,6 @@
#include "wtf/Noncopyable.h"
#include "wtf/RefPtr.h"
#include "wtf/text/WTFString.h"
-#include <memory>
class SkTypeface;
@@ -52,7 +51,7 @@ class PLATFORM_EXPORT FontCustomPlatformData {
USING_FAST_MALLOC(FontCustomPlatformData);
WTF_MAKE_NONCOPYABLE(FontCustomPlatformData);
public:
- static std::unique_ptr<FontCustomPlatformData> create(SharedBuffer*, String& otsParseMessage);
+ static PassOwnPtr<FontCustomPlatformData> create(SharedBuffer*, String& otsParseMessage);
~FontCustomPlatformData();
FontPlatformData fontPlatformData(float size, bool bold, bool italic, FontOrientation = FontOrientation::Horizontal);

Powered by Google App Engine
This is Rietveld 408576698