| Index: third_party/WebKit/Source/core/frame/PerformanceMonitorTest.cpp
|
| diff --git a/third_party/WebKit/Source/core/frame/PerformanceMonitorTest.cpp b/third_party/WebKit/Source/core/frame/PerformanceMonitorTest.cpp
|
| index a784878166c3a3acca500f643e4e736e74d4b41f..20066335d31bb1d3e1441af6499044603a6cba6a 100644
|
| --- a/third_party/WebKit/Source/core/frame/PerformanceMonitorTest.cpp
|
| +++ b/third_party/WebKit/Source/core/frame/PerformanceMonitorTest.cpp
|
| @@ -17,6 +17,7 @@ namespace blink {
|
| class PerformanceMonitorTest : public ::testing::Test {
|
| protected:
|
| void SetUp() override;
|
| + void TearDown() override;
|
| LocalFrame* frame() const { return m_pageHolder->document().frame(); }
|
| ExecutionContext* executionContext() const {
|
| return &m_pageHolder->document();
|
| @@ -29,7 +30,7 @@ class PerformanceMonitorTest : public ::testing::Test {
|
| }
|
|
|
| void willExecuteScript(ExecutionContext* executionContext) {
|
| - m_monitor->alwaysWillExecuteScript(executionContext);
|
| + m_monitor->willExecuteScript(executionContext);
|
| }
|
|
|
| // scheduler::TaskTimeObserver implementation
|
| @@ -62,6 +63,10 @@ void PerformanceMonitorTest::SetUp() {
|
| KURL(KURL(), "https://iframed.com/bar"));
|
| }
|
|
|
| +void PerformanceMonitorTest::TearDown() {
|
| + m_monitor->shutdown();
|
| +}
|
| +
|
| String PerformanceMonitorTest::frameContextURL() {
|
| // This is reported only if there is a single frameContext URL.
|
| if (m_monitor->m_taskHasMultipleContexts)
|
|
|