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

Unified Diff: Source/core/dom/PseudoElement.cpp

Issue 889563002: Make RenderObject::style() return a const object (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated patch after splitting Created 5 years, 10 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/dom/PseudoElement.cpp
diff --git a/Source/core/dom/PseudoElement.cpp b/Source/core/dom/PseudoElement.cpp
index f3626aa7ae037e39287686281e9f1724c25e6dc9..ee72144cf7c61f5fe998a7af1685efc047d93ab7 100644
--- a/Source/core/dom/PseudoElement.cpp
+++ b/Source/core/dom/PseudoElement.cpp
@@ -156,7 +156,7 @@ void PseudoElement::didRecalcStyle(StyleRecalcChange)
if (!child->isText() && !child->isQuote() && !child->isImage())
continue;
- child->setPseudoStyle(renderer->style());
+ child->setPseudoStyle(renderer->mutableStyle());
}
}

Powered by Google App Engine
This is Rietveld 408576698