| Index: Source/core/css/resolver/FontBuilder.h
|
| diff --git a/Source/core/css/resolver/FontBuilder.h b/Source/core/css/resolver/FontBuilder.h
|
| index fb747d5c55daf02a001575016835567b17cf5482..fc2f537ef6e9b18191f09c85d2ef271c8ea41dd2 100644
|
| --- a/Source/core/css/resolver/FontBuilder.h
|
| +++ b/Source/core/css/resolver/FontBuilder.h
|
| @@ -41,11 +41,9 @@ class FontBuilder {
|
| STACK_ALLOCATED();
|
| WTF_MAKE_NONCOPYABLE(FontBuilder);
|
| public:
|
| - FontBuilder();
|
| -
|
| - // FIXME: The name is probably wrong, but matches StyleResolverState callsite for consistency.
|
| - void initForStyleResolve(const Document&, RenderStyle*);
|
| + FontBuilder(const Document&);
|
|
|
| + void setStyle(RenderStyle* style) { m_style = style; }
|
| void setInitial(float effectiveZoom);
|
|
|
| void didChangeFontParameters(bool);
|
| @@ -107,7 +105,7 @@ private:
|
|
|
| float getComputedSizeFromSpecifiedSize(FontDescription&, float effectiveZoom, float specifiedSize);
|
|
|
| - RawPtrWillBeMember<const Document> m_document;
|
| + const Document& m_document;
|
| // 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
|
| // directly, rather than as a byproduct of calling RenderStyle::setFontDescription.
|
|
|