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

Unified Diff: Source/core/dom/Text.h

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blind fix for Mac. Created 5 years, 11 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: Source/core/dom/Text.h
diff --git a/Source/core/dom/Text.h b/Source/core/dom/Text.h
index 484c2b34ecb12a5eecb9a185e69df9f0dcf7888e..d5387018be750286f34c454dc2a506153c5ec8e3 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 RenderStyle&, const RenderObject& parent);
- RenderText* createTextRenderer(RenderStyle*);
+ RenderText* createTextRenderer(const RenderStyle*);
void updateTextRenderer(unsigned offsetOfReplacedData, unsigned lengthOfReplacedData, RecalcStyleBehavior = DoNotRecalcStyle);
virtual void attach(const AttachContext& = AttachContext()) override final;

Powered by Google App Engine
This is Rietveld 408576698