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

Unified Diff: Source/core/html/HTMLImageElement.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/HTMLImageElement.cpp
diff --git a/Source/core/html/HTMLImageElement.cpp b/Source/core/html/HTMLImageElement.cpp
index 9fe4683b2cd77ddaf3d6ae919f8266e20487b5a9..55e7f875d60e50acbf6a289ec755dcf4f81d8998 100644
--- a/Source/core/html/HTMLImageElement.cpp
+++ b/Source/core/html/HTMLImageElement.cpp
@@ -332,7 +332,7 @@ ImageCandidate HTMLImageElement::findBestFitImageFromPictureParent()
return ImageCandidate();
}
-RenderObject* HTMLImageElement::createRenderer(RenderStyle* style)
+RenderObject* HTMLImageElement::createRenderer(const RenderStyle* style)
{
if (style->hasContent())
return RenderObject::createObject(this, style);

Powered by Google App Engine
This is Rietveld 408576698