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

Unified Diff: third_party/WebKit/Source/core/fetch/FontResource.h

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. 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/core/fetch/FontResource.h
diff --git a/third_party/WebKit/Source/core/fetch/FontResource.h b/third_party/WebKit/Source/core/fetch/FontResource.h
index 27ceeb781b35c2d83065ff080a7e21e11f748b68..6b8eb95aae983ce659ba37c7f5cc144fe7f42fb7 100644
--- a/third_party/WebKit/Source/core/fetch/FontResource.h
+++ b/third_party/WebKit/Source/core/fetch/FontResource.h
@@ -31,7 +31,7 @@
#include "platform/Timer.h"
#include "platform/fonts/FontOrientation.h"
#include "platform/heap/Handle.h"
-#include "wtf/OwnPtr.h"
+#include <memory>
namespace blink {
@@ -84,7 +84,7 @@ private:
enum LoadLimitState { UnderLimit, ShortLimitExceeded, LongLimitExceeded };
- OwnPtr<FontCustomPlatformData> m_fontData;
+ std::unique_ptr<FontCustomPlatformData> m_fontData;
String m_otsParsingMessage;
LoadLimitState m_loadLimitState;
bool m_corsFailed;
« no previous file with comments | « third_party/WebKit/Source/core/fetch/DocumentResource.h ('k') | third_party/WebKit/Source/core/fetch/ImageResource.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698