| Index: third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
|
| index 43cb57834e7b98a9c167a8d4dc2c9811ab162cb6..34e47aea643e0e5d4f5ef7ce6cb1b8cc3dd674b6 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutTestHelper.cpp
|
| @@ -41,9 +41,10 @@ void RenderingTest::TearDown() {
|
| document().frame()->host()->decrementSubframeCount();
|
| }
|
|
|
| - // We need to destroy most of the Blink structure here because derived tests may restore
|
| - // RuntimeEnabledFeatures setting during teardown, which happens before our destructor
|
| - // getting invoked, breaking the assumption that REF can't change during Blink lifetime.
|
| + // We need to destroy most of the Blink structure here because derived tests
|
| + // may restore RuntimeEnabledFeatures setting during teardown, which happens
|
| + // before our destructor getting invoked, breaking the assumption that REF
|
| + // can't change during Blink lifetime.
|
| m_pageHolder = nullptr;
|
|
|
| // Clear memory cache, otherwise we can leak pruned resources.
|
|
|