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

Unified Diff: Source/core/html/forms/ImageInputType.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/forms/ImageInputType.cpp
diff --git a/Source/core/html/forms/ImageInputType.cpp b/Source/core/html/forms/ImageInputType.cpp
index 729d81a02ac0cafb33464f584ee898df32a6afe0..1dfee4db99e68a1bcf336e101435c18ce81b1d4d 100644
--- a/Source/core/html/forms/ImageInputType.cpp
+++ b/Source/core/html/forms/ImageInputType.cpp
@@ -121,7 +121,7 @@ void ImageInputType::handleDOMActivateEvent(Event* event)
event->setDefaultHandled();
}
-RenderObject* ImageInputType::createRenderer(RenderStyle* style) const
+RenderObject* ImageInputType::createRenderer(const RenderStyle* style) const
{
if (m_useFallbackContent)
return new RenderBlockFlow(&element());

Powered by Google App Engine
This is Rietveld 408576698