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

Unified Diff: Source/core/html/HTMLInputElement.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/HTMLInputElement.cpp
diff --git a/Source/core/html/HTMLInputElement.cpp b/Source/core/html/HTMLInputElement.cpp
index 1ebc11526aad06103f99058570ed20530d62e46f..5229e399bbe7683bda40f0ccdd3f257284648424 100644
--- a/Source/core/html/HTMLInputElement.cpp
+++ b/Source/core/html/HTMLInputElement.cpp
@@ -817,7 +817,7 @@ bool HTMLInputElement::rendererIsNeeded(const RenderStyle& style)
return m_inputType->rendererIsNeeded() && HTMLTextFormControlElement::rendererIsNeeded(style);
}
-RenderObject* HTMLInputElement::createRenderer(RenderStyle* style)
+RenderObject* HTMLInputElement::createRenderer(const RenderStyle* style)
{
return m_inputTypeView->createRenderer(style);
}

Powered by Google App Engine
This is Rietveld 408576698