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

Unified Diff: third_party/WebKit/Source/core/css/resolver/StyleResolver.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 3 years, 10 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/css/resolver/StyleResolver.h
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleResolver.h b/third_party/WebKit/Source/core/css/resolver/StyleResolver.h
index a06ff9ba448bfc0f27549d1bc00eceb6b1711d78..667d93ca4267b3cbaf4ad090c0db2f423de3de60 100644
--- a/third_party/WebKit/Source/core/css/resolver/StyleResolver.h
+++ b/third_party/WebKit/Source/core/css/resolver/StyleResolver.h
@@ -81,7 +81,8 @@ class CORE_EXPORT StyleResolver final
PassRefPtr<ComputedStyle> styleForElement(
Element*,
- const ComputedStyle* parentStyle = 0,
+ const ComputedStyle* parentStyle = nullptr,
+ const ComputedStyle* layoutParentStyle = nullptr,
StyleSharingBehavior = AllowStyleSharing,
RuleMatchingBehavior = MatchAllRules);
@@ -95,7 +96,8 @@ class CORE_EXPORT StyleResolver final
PassRefPtr<ComputedStyle> pseudoStyleForElement(
Element*,
const PseudoStyleRequest&,
- const ComputedStyle* parentStyle);
+ const ComputedStyle* parentStyle,
+ const ComputedStyle* layoutParentStyle);
PassRefPtr<ComputedStyle> styleForPage(int pageIndex);
PassRefPtr<ComputedStyle> styleForText(Text*);

Powered by Google App Engine
This is Rietveld 408576698