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

Unified Diff: Source/core/html/HTMLWBRElement.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/HTMLWBRElement.cpp
diff --git a/Source/core/html/HTMLWBRElement.cpp b/Source/core/html/HTMLWBRElement.cpp
index e36c00b51a91ba1f2433a1e6dde7c6f8bf225589..5be9d45815ed9685c887c2a23ad84e34193e508c 100644
--- a/Source/core/html/HTMLWBRElement.cpp
+++ b/Source/core/html/HTMLWBRElement.cpp
@@ -45,7 +45,7 @@ inline HTMLWBRElement::HTMLWBRElement(Document& document)
DEFINE_NODE_FACTORY(HTMLWBRElement)
-RenderObject* HTMLWBRElement::createRenderer(RenderStyle* style)
+RenderObject* HTMLWBRElement::createRenderer(const RenderStyle* style)
{
return new RenderWordBreak(this);
}

Powered by Google App Engine
This is Rietveld 408576698