| Index: third_party/WebKit/Source/core/editing/EditingTestBase.cpp
|
| diff --git a/third_party/WebKit/Source/core/editing/EditingTestBase.cpp b/third_party/WebKit/Source/core/editing/EditingTestBase.cpp
|
| index 825df3697be2b9ecee0db78219af112abdcca44f..13afe5080e5fcab480aca9ed6d899afa14cd85e3 100644
|
| --- a/third_party/WebKit/Source/core/editing/EditingTestBase.cpp
|
| +++ b/third_party/WebKit/Source/core/editing/EditingTestBase.cpp
|
| @@ -35,20 +35,18 @@
|
| {
|
| RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = scope.getElementById(AtomicString::fromUTF8(hostElementID))->createShadowRootInternal(ShadowRootType::V0, ASSERT_NO_EXCEPTION);
|
| shadowRoot->setInnerHTML(String::fromUTF8(shadowRootContent), ASSERT_NO_EXCEPTION);
|
| - scope.document().view()->updateAllLifecyclePhases();
|
| return shadowRoot.release();
|
| }
|
|
|
| void EditingTestBase::setBodyContent(const char* bodyContent)
|
| {
|
| document().body()->setInnerHTML(String::fromUTF8(bodyContent), ASSERT_NO_EXCEPTION);
|
| - updateLayoutAndStyleForPainting();
|
| }
|
|
|
| PassRefPtrWillBeRawPtr<ShadowRoot> EditingTestBase::setShadowContent(const char* shadowContent, const char* host)
|
| {
|
| RefPtrWillBeRawPtr<ShadowRoot> shadowRoot = createShadowRootForElementWithIDAndSetInnerHTML(document(), host, shadowContent);
|
| - updateLayoutAndStyleForPainting();
|
| + document().updateDistribution();
|
| return shadowRoot.release();
|
| }
|
|
|
|
|