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

Unified Diff: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h

Issue 2766163002: Pass nextTextSibling to ::before layout rebuild. (Closed)
Patch Set: Documentation fix. 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/shadow/ShadowRoot.h
diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h
index a0097603a7b0f1bba6e7d44ec88b6c2f67530dec..e25b09b002318f82478f4b690736ed56fc8f257e 100644
--- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h
+++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.h
@@ -119,7 +119,7 @@ class CORE_EXPORT ShadowRoot final : public DocumentFragment, public TreeScope {
unsigned childShadowRootCount() const { return m_childShadowRootCount; }
void recalcStyle(StyleRecalcChange);
- void rebuildLayoutTree();
+ void rebuildLayoutTree(Text*& nextTextSibling);
void registerScopedHTMLStyleChild();
void unregisterScopedHTMLStyleChild();
@@ -172,6 +172,7 @@ class CORE_EXPORT ShadowRoot final : public DocumentFragment, public TreeScope {
--m_childShadowRootCount;
}
void invalidateDescendantInsertionPoints();
+ void skipRebuildLayoutTree(Text*& nextTextSibling) const;
Member<ShadowRootRareDataV0> m_shadowRootRareDataV0;
Member<StyleSheetList> m_styleSheetList;
« no previous file with comments | « third_party/WebKit/Source/core/dom/Element.cpp ('k') | third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698