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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextFragment.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/layout/LayoutTextFragment.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextFragment.h b/third_party/WebKit/Source/core/layout/LayoutTextFragment.h
index fb68a53d2861596e71710f397ddbd3212a86127a..800fb669d7c73086cb38a112eaba8d977e3b2076 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextFragment.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTextFragment.h
@@ -43,6 +43,12 @@ class LayoutTextFragment final : public LayoutText {
LayoutTextFragment(Node*, StringImpl*);
~LayoutTextFragment() override;
+ static LayoutTextFragment* createAnonymous(PseudoElement&,
+ StringImpl*,
+ unsigned startOffset,
+ unsigned length);
+ static LayoutTextFragment* createAnonymous(PseudoElement&, StringImpl*);
+
bool isTextFragment() const override { return true; }
bool canBeSelectionLeaf() const override {

Powered by Google App Engine
This is Rietveld 408576698