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

Unified Diff: third_party/WebKit/Source/core/dom/PseudoElement.h

Issue 2727853002: [css-display] Support display: contents pseudo-elements.
Patch Set: Add missing nullcheck (whoops). 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/dom/PseudoElement.h
diff --git a/third_party/WebKit/Source/core/dom/PseudoElement.h b/third_party/WebKit/Source/core/dom/PseudoElement.h
index e05dacfc47dd429b3cd2bfa5d77d49dab71b6255..279bafebd19a5b9576b8fcf4d27cd66572dab4ca 100644
--- a/third_party/WebKit/Source/core/dom/PseudoElement.h
+++ b/third_party/WebKit/Source/core/dom/PseudoElement.h
@@ -39,6 +39,7 @@ class CORE_EXPORT PseudoElement : public Element {
PassRefPtr<ComputedStyle> customStyleForLayoutObject() override;
void attachLayoutTree(const AttachContext& = AttachContext()) override;
+ void detachLayoutTree(const AttachContext& = AttachContext()) override;
bool layoutObjectIsNeeded(const ComputedStyle&) override;
bool canStartSelection() const override { return false; }
@@ -58,6 +59,7 @@ class CORE_EXPORT PseudoElement : public Element {
void didRecalcStyle() override;
PseudoId m_pseudoId;
+ std::vector<LayoutObject*> m_generatedContent;
emilio 2017/03/13 13:28:31 This can also go away now.
};
const QualifiedName& pseudoElementTagName();

Powered by Google App Engine
This is Rietveld 408576698