Index: third_party/WebKit/Source/core/css/CSSCustomFontData.h |
diff --git a/third_party/WebKit/Source/core/css/CSSCustomFontData.h b/third_party/WebKit/Source/core/css/CSSCustomFontData.h |
index 3ca52da2e57f504589a17e025893bae49fafc83e..227adfcd413da9c27c88c6e808805cdda5713d0c 100644 |
--- a/third_party/WebKit/Source/core/css/CSSCustomFontData.h |
+++ b/third_party/WebKit/Source/core/css/CSSCustomFontData.h |
@@ -23,6 +23,7 @@ |
#include "core/css/CSSFontFaceSource.h" |
#include "platform/fonts/CustomFontData.h" |
+#include "platform/heap/Handle.h" |
namespace blink { |
@@ -66,11 +67,13 @@ private: |
m_isLoading = source->isLoading(); |
} |
- RemoteFontFaceSource* m_fontFaceSource; |
+ // TODO(Oilpan): consider moving (Custom)FontFace hierarchy to the heap, |
+ // thereby making this reference a Member<>. |
+ RawPtrWillBeWeakPersistent<RemoteFontFaceSource> m_fontFaceSource; |
FallbackVisibility m_fallbackVisibility; |
mutable bool m_isLoading; |
}; |
-} |
+} // namespace blink |
#endif // CSSCustomFontData_h |