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

Unified Diff: Source/core/html/HTMLButtonElement.cpp

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blind fix for Mac. 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/HTMLButtonElement.cpp
diff --git a/Source/core/html/HTMLButtonElement.cpp b/Source/core/html/HTMLButtonElement.cpp
index 4d1044fca5f14dcb0f21cf5e4d648f08e5b34cdd..e460ed3bf5c1a673690e07b11a807d3db38b1c57 100644
--- a/Source/core/html/HTMLButtonElement.cpp
+++ b/Source/core/html/HTMLButtonElement.cpp
@@ -56,7 +56,7 @@ void HTMLButtonElement::setType(const AtomicString& type)
setAttribute(typeAttr, type);
}
-RenderObject* HTMLButtonElement::createRenderer(RenderStyle*)
+RenderObject* HTMLButtonElement::createRenderer(const RenderStyle*)
{
return new RenderButton(this);
}

Powered by Google App Engine
This is Rietveld 408576698