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

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: Updated change after Doug's review. Created 5 years, 10 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
« no previous file with comments | « Source/core/dom/RenderTreeBuilder.cpp ('k') | Source/core/dom/Text.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « Source/core/dom/RenderTreeBuilder.cpp ('k') | Source/core/dom/Text.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698