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

Unified Diff: Source/core/html/forms/SearchInputType.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/SearchInputType.cpp
diff --git a/Source/core/html/forms/SearchInputType.cpp b/Source/core/html/forms/SearchInputType.cpp
index e65e4a04294bfd7b5e1a539666e5cb5b93e5df19..d0cf26eb12ead109f740fcb977834780e11fcd91 100644
--- a/Source/core/html/forms/SearchInputType.cpp
+++ b/Source/core/html/forms/SearchInputType.cpp
@@ -62,7 +62,7 @@ void SearchInputType::countUsage()
countUsageIfVisible(UseCounter::InputTypeSearch);
}
-RenderObject* SearchInputType::createRenderer(RenderStyle*) const
+RenderObject* SearchInputType::createRenderer(const RenderStyle*) const
{
return new RenderSearchField(&element());
}

Powered by Google App Engine
This is Rietveld 408576698