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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutQuote.cpp

Issue 2727853002: [css-display] Support display: contents pseudo-elements.
Patch Set: [css-display] Support display: contents pseudos. Created 3 years, 9 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: third_party/WebKit/Source/core/layout/LayoutQuote.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutQuote.cpp b/third_party/WebKit/Source/core/layout/LayoutQuote.cpp
index 3db4be4eb263272f60e2115555e4d56f02dc848b..85ad74d28fc1fd8e9a5f419a7a7286585b2b8d3d 100644
--- a/third_party/WebKit/Source/core/layout/LayoutQuote.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutQuote.cpp
@@ -39,7 +39,7 @@ LayoutQuote::LayoutQuote(PseudoElement& pseudo, QuoteType quote)
m_previous(nullptr),
m_owningPseudo(&pseudo),
m_attached(false) {
- setDocumentForAnonymous(&pseudo.document());
+ setPseudoForAnonymous(pseudo);
}
LayoutQuote::~LayoutQuote() {

Powered by Google App Engine
This is Rietveld 408576698