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

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

Issue 2450093005: Support display: contents for elements, first-line and first-letter pseudos. (Closed)
Patch Set: Support display: contents for elements, first-line and first-letter pseudos. Created 4 years, 1 month 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/LayoutTreeBuilder.h
diff --git a/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.h b/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.h
index 158e3618e4f73a4f52273686e6b8518849df6093..234e22e54f2a8319679ed76d13575116680fa508 100644
--- a/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.h
+++ b/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.h
@@ -89,9 +89,12 @@ class LayoutTreeBuilderForElement : public LayoutTreeBuilder<Element> {
class LayoutTreeBuilderForText : public LayoutTreeBuilder<Text> {
public:
- LayoutTreeBuilderForText(Text& text, LayoutObject* layoutParent)
- : LayoutTreeBuilder(text, layoutParent) {}
+ LayoutTreeBuilderForText(Text& text,
+ LayoutObject* layoutParent,
+ ComputedStyle* styleFromParent)
+ : LayoutTreeBuilder(text, layoutParent), m_style(styleFromParent) {}
+ RefPtr<ComputedStyle> m_style;
void createLayoutObject();
};

Powered by Google App Engine
This is Rietveld 408576698