| Index: third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp
|
| diff --git a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp
|
| index 17ff2f27d5cceb8e53f0b5d5ec21284fa05fd99b..40fcf03a04d549847b31f36d7190d31d86ee9046 100644
|
| --- a/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp
|
| +++ b/third_party/WebKit/Source/core/dom/shadow/ShadowRoot.cpp
|
| @@ -155,14 +155,14 @@ void ShadowRoot::recalcStyle(StyleRecalcChange change) {
|
| clearChildNeedsStyleRecalc();
|
| }
|
|
|
| -void ShadowRoot::rebuildLayoutTree() {
|
| +void ShadowRoot::rebuildLayoutTree(Text*& nextTextSibling) {
|
| // ShadowRoot doesn't support custom callbacks.
|
| DCHECK(!hasCustomStyleCallbacks());
|
|
|
| StyleSharingDepthScope sharingScope(*this);
|
|
|
| clearNeedsReattachLayoutTree();
|
| - rebuildChildrenLayoutTrees();
|
| + rebuildChildrenLayoutTrees(nextTextSibling);
|
| clearChildNeedsReattachLayoutTree();
|
| }
|
|
|
|
|