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

Unified Diff: Source/core/html/HTMLPlugInElement.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/HTMLPlugInElement.cpp
diff --git a/Source/core/html/HTMLPlugInElement.cpp b/Source/core/html/HTMLPlugInElement.cpp
index d57dbf011482ce04e1963674130255f894d2e3bc..b735c1e27a5997b21779958c956414efd9bccd1b 100644
--- a/Source/core/html/HTMLPlugInElement.cpp
+++ b/Source/core/html/HTMLPlugInElement.cpp
@@ -263,7 +263,7 @@ void HTMLPlugInElement::detach(const AttachContext& context)
HTMLFrameOwnerElement::detach(context);
}
-RenderObject* HTMLPlugInElement::createRenderer(RenderStyle* style)
+RenderObject* HTMLPlugInElement::createRenderer(const RenderStyle* style)
{
// Fallback content breaks the DOM->Renderer class relationship of this
// class and all superclasses because createObject won't necessarily return

Powered by Google App Engine
This is Rietveld 408576698