Chromium Code Reviews| Index: third_party/WebKit/Source/core/timing/PerformanceBaseTest.cpp |
| diff --git a/third_party/WebKit/Source/core/timing/PerformanceBaseTest.cpp b/third_party/WebKit/Source/core/timing/PerformanceBaseTest.cpp |
| index 78ac9997ac67ec5fa01482e22b802f37df0c81e2..049856642ec60b6d1dff718e2fa26e12b52475fe 100644 |
| --- a/third_party/WebKit/Source/core/timing/PerformanceBaseTest.cpp |
| +++ b/third_party/WebKit/Source/core/timing/PerformanceBaseTest.cpp |
| @@ -13,13 +13,18 @@ |
| #include "core/timing/PerformanceObserver.h" |
| #include "core/timing/PerformanceObserverInit.h" |
| #include "platform/network/ResourceResponse.h" |
| +#include "public/platform/Platform.h" |
| +#include "public/platform/WebThread.h" |
| #include "testing/gtest/include/gtest/gtest.h" |
| namespace blink { |
| class TestPerformanceBase : public PerformanceBase { |
| public: |
| - TestPerformanceBase() : PerformanceBase(0) {} |
| + TestPerformanceBase() |
| + : PerformanceBase( |
| + 0, |
| + Platform::current()->currentThread()->getWebTaskRunner()) {} |
|
haraken
2017/01/20 02:30:25
I'd prefer using TaskType::PerformanceTimeline (ju
jbroman
2017/01/20 02:33:35
With which LocalFrame/Document/ExecutionContext/Sc
|
| ~TestPerformanceBase() {} |
| ExecutionContext* getExecutionContext() const override { return nullptr; } |