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

Unified Diff: Source/core/html/HTMLRTElement.cpp

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix a crashers (everything is building!) 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/html/HTMLRTElement.cpp
diff --git a/Source/core/html/HTMLRTElement.cpp b/Source/core/html/HTMLRTElement.cpp
index 51e73ec0f7d1b9f3749a60abd9811b27135fcecd..ef8dcde45c96d73b793a8929548d0b384f486aa0 100644
--- a/Source/core/html/HTMLRTElement.cpp
+++ b/Source/core/html/HTMLRTElement.cpp
@@ -19,7 +19,7 @@ inline HTMLRTElement::HTMLRTElement(Document& document)
DEFINE_NODE_FACTORY(HTMLRTElement)
-RenderObject* HTMLRTElement::createRenderer(RenderStyle* style)
+RenderObject* HTMLRTElement::createRenderer(const RenderStyle* style)
{
if (style->display() == BLOCK)
return new LayoutRubyText(this);

Powered by Google App Engine
This is Rietveld 408576698