Index: Source/core/dom/Text.h |
diff --git a/Source/core/dom/Text.h b/Source/core/dom/Text.h |
index 1b4c0bf5594927bb2172308c8adb85cf227810b9..b6626a0afed801637e154405cd07a93320e77d07 100644 |
--- a/Source/core/dom/Text.h |
+++ b/Source/core/dom/Text.h |
@@ -52,7 +52,7 @@ public: |
void recalcTextStyle(StyleRecalcChange, Text* nextTextSibling); |
bool textRendererIsNeeded(const LayoutStyle&, const LayoutObject& parent); |
- RenderText* createTextRenderer(LayoutStyle*); |
+ RenderText* createTextRenderer(const LayoutStyle&); |
void updateTextRenderer(unsigned offsetOfReplacedData, unsigned lengthOfReplacedData, RecalcStyleBehavior = DoNotRecalcStyle); |
virtual void attach(const AttachContext& = AttachContext()) override final; |