Index: Source/core/css/resolver/FontBuilder.h |
diff --git a/Source/core/css/resolver/FontBuilder.h b/Source/core/css/resolver/FontBuilder.h |
index 1c6aa47a7e94bf9826d8eec7ebe06e8df233de63..f138faa0a0c6caf08ba648f9439d5740022441ee 100644 |
--- a/Source/core/css/resolver/FontBuilder.h |
+++ b/Source/core/css/resolver/FontBuilder.h |
@@ -38,7 +38,8 @@ class RenderStyle; |
class FontDescriptionChangeScope; |
class FontBuilder { |
- WTF_MAKE_NONCOPYABLE(FontBuilder); WTF_MAKE_FAST_ALLOCATED; |
+ STACK_ALLOCATED(); |
+ WTF_MAKE_NONCOPYABLE(FontBuilder); |
public: |
FontBuilder(); |
@@ -112,7 +113,7 @@ private: |
float getComputedSizeFromSpecifiedSize(FontDescription&, float effectiveZoom, float specifiedSize); |
- const Document* m_document; |
+ RawPtrWillBeMember<const Document> m_document; |
bool m_fontSizehasViewportUnits; |
// FIXME: This member is here on a short-term lease. The plan is to remove |
// any notion of RenderStyle from here, allowing FontBuilder to build Font objects |