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

Unified Diff: Source/core/html/forms/InputTypeView.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/InputTypeView.cpp
diff --git a/Source/core/html/forms/InputTypeView.cpp b/Source/core/html/forms/InputTypeView.cpp
index 247b227a005e7ac319e93bf3c1b6e12aab0a3069..68845b38f5bcbfe93c086bb68fe92efb916331e1 100644
--- a/Source/core/html/forms/InputTypeView.cpp
+++ b/Source/core/html/forms/InputTypeView.cpp
@@ -97,7 +97,7 @@ PassRefPtrWillBeRawPtr<HTMLFormElement> InputTypeView::formForSubmission() const
return element().form();
}
-RenderObject* InputTypeView::createRenderer(RenderStyle* style) const
+RenderObject* InputTypeView::createRenderer(const RenderStyle* style) const
{
return RenderObject::createObject(&element(), style);
}

Powered by Google App Engine
This is Rietveld 408576698