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

Unified Diff: Source/core/rendering/svg/RenderSVGTSpan.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/rendering/svg/RenderSVGTSpan.cpp
diff --git a/Source/core/rendering/svg/RenderSVGTSpan.cpp b/Source/core/rendering/svg/RenderSVGTSpan.cpp
index e250a444fbef0af37c49356ad0f796d2371fd531..1c420002316780405e1b161a297d631b164f5689 100644
--- a/Source/core/rendering/svg/RenderSVGTSpan.cpp
+++ b/Source/core/rendering/svg/RenderSVGTSpan.cpp
@@ -32,7 +32,7 @@ RenderSVGTSpan::RenderSVGTSpan(Element* element)
{
}
-bool RenderSVGTSpan::isChildAllowed(RenderObject* child, RenderStyle*) const
+bool RenderSVGTSpan::isChildAllowed(RenderObject* child, const RenderStyle*) const
{
// Always allow text (except empty textnodes and <br>).
if (child->isText())

Powered by Google App Engine
This is Rietveld 408576698