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

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, 2 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/LayoutTreeBuilder.h
diff --git a/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.h b/third_party/WebKit/Source/core/dom/LayoutTreeBuilder.h
index 158e3618e4f73a4f52273686e6b8518849df6093..2512bd50db2e2f69e71cd32d3dde0c23152e6ff2 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) {}
+ ComputedStyle* m_style;
jfernandez 2016/10/27 17:08:02 I think we want this pointer to be reference count
void createLayoutObject();
};

Powered by Google App Engine
This is Rietveld 408576698