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

Unified Diff: Source/core/html/HTMLProgressElement.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/HTMLProgressElement.cpp
diff --git a/Source/core/html/HTMLProgressElement.cpp b/Source/core/html/HTMLProgressElement.cpp
index 3c078f6e35755bb6530811a5582c9037c01cf8aa..7874d854a3daa3f2beb56d4e172e7d314a612cc9 100644
--- a/Source/core/html/HTMLProgressElement.cpp
+++ b/Source/core/html/HTMLProgressElement.cpp
@@ -58,7 +58,7 @@ PassRefPtrWillBeRawPtr<HTMLProgressElement> HTMLProgressElement::create(Document
return progress.release();
}
-RenderObject* HTMLProgressElement::createRenderer(RenderStyle* style)
+RenderObject* HTMLProgressElement::createRenderer(const RenderStyle* style)
{
if (!style->hasAppearance() || hasAuthorShadowRoot())
return RenderObject::createObject(this, style);

Powered by Google App Engine
This is Rietveld 408576698