Commit 34941c11 authored by Hiroki Nakagawa's avatar Hiroki Nakagawa Committed by Commit Bot

Worklet: Remove unused DummyPageHolder from WorkletModuleResponsesMapTest

Bug: n/a
Change-Id: If3267b58e12f9ad945f714f53d8deb189d96abab
Reviewed-on: https://chromium-review.googlesource.com/964111Reviewed-by: default avatarMatt Falkenhagen <falken@chromium.org>
Commit-Queue: Hiroki Nakagawa <nhiroki@chromium.org>
Cr-Commit-Position: refs/heads/master@{#543586}
parent 669b8ddd
......@@ -3,7 +3,6 @@
// found in the LICENSE file.
#include "core/loader/modulescript/ModuleScriptCreationParams.h"
#include "core/testing/DummyPageHolder.h"
#include "core/workers/WorkletModuleResponsesMap.h"
#include "platform/loader/testing/FetchTestingPlatformSupport.h"
#include "platform/loader/testing/MockFetchContext.h"
......@@ -56,7 +55,6 @@ class WorkletModuleResponsesMapTest : public ::testing::Test {
void SetUp() override {
platform_->AdvanceClockSeconds(1.); // For non-zero DocumentParserTimings
dummy_page_holder_ = DummyPageHolder::Create();
auto* context =
MockFetchContext::Create(MockFetchContext::kShouldLoadNewResource);
fetcher_ = ResourceFetcher::Create(context);
......@@ -71,7 +69,6 @@ class WorkletModuleResponsesMapTest : public ::testing::Test {
protected:
ScopedTestingPlatformSupport<FetchTestingPlatformSupport> platform_;
std::unique_ptr<DummyPageHolder> dummy_page_holder_;
Persistent<ResourceFetcher> fetcher_;
Persistent<WorkletModuleResponsesMap> map_;
};
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment