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

Unified Diff: third_party/WebKit/Source/core/css/BinaryDataFontFaceSource.h

Issue 2717123003: RemoteFontFaceSource should keep FontCustomPlatformData over FontResource revalidation (Closed)
Patch Set: test description Created 3 years, 10 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/css/BinaryDataFontFaceSource.h
diff --git a/third_party/WebKit/Source/core/css/BinaryDataFontFaceSource.h b/third_party/WebKit/Source/core/css/BinaryDataFontFaceSource.h
index 438bcecf5615f36ee5552a9e258f9eb41db7c7e8..0b248e07da0ce572650e308ec39b8668b09fbc67 100644
--- a/third_party/WebKit/Source/core/css/BinaryDataFontFaceSource.h
+++ b/third_party/WebKit/Source/core/css/BinaryDataFontFaceSource.h
@@ -6,7 +6,7 @@
#define BinaryDataFontFaceSource_h
#include "core/css/CSSFontFaceSource.h"
-#include <memory>
+#include "wtf/RefPtr.h"
namespace blink {
@@ -22,7 +22,7 @@ class BinaryDataFontFaceSource final : public CSSFontFaceSource {
private:
PassRefPtr<SimpleFontData> createFontData(const FontDescription&) override;
- std::unique_ptr<FontCustomPlatformData> m_customPlatformData;
+ RefPtr<FontCustomPlatformData> m_customPlatformData;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698