Commit bd981cf6 authored by Greg Thompson's avatar Greg Thompson Committed by Commit Bot

Remove dead code from TestBlinkWebUnitTestSupport.

R=sky@chromium.org


Bug: 546640
Change-Id: I597edb708f20b74b54769dee7eaf813606154e17
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1895656
Auto-Submit: Greg Thompson <grt@chromium.org>
Commit-Queue: Scott Violet <sky@chromium.org>
Reviewed-by: default avatarScott Violet <sky@chromium.org>
Cr-Commit-Position: refs/heads/master@{#711848}
parent 21fb6e78
...@@ -183,12 +183,6 @@ TestBlinkWebUnitTestSupport::TestBlinkWebUnitTestSupport( ...@@ -183,12 +183,6 @@ TestBlinkWebUnitTestSupport::TestBlinkWebUnitTestSupport(
// Initialize libraries for media. // Initialize libraries for media.
media::InitializeMediaLibrary(); media::InitializeMediaLibrary();
if (!file_system_root_.CreateUniqueTempDir()) {
LOG(WARNING) << "Failed to create a temp dir for the filesystem."
"FileSystem feature will be disabled.";
DCHECK(file_system_root_.GetPath().empty());
}
// Test shell always exposes the GC. // Test shell always exposes the GC.
std::string flags("--expose-gc"); std::string flags("--expose-gc");
v8::V8::SetFlagsFromString(flags.c_str(), flags.size()); v8::V8::SetFlagsFromString(flags.c_str(), flags.size());
......
...@@ -8,7 +8,6 @@ ...@@ -8,7 +8,6 @@
#include <memory> #include <memory>
#include "base/compiler_specific.h" #include "base/compiler_specific.h"
#include "base/files/scoped_temp_dir.h"
#include "base/macros.h" #include "base/macros.h"
#include "base/memory/weak_ptr.h" #include "base/memory/weak_ptr.h"
#include "build/build_config.h" #include "build/build_config.h"
...@@ -73,7 +72,6 @@ class TestBlinkWebUnitTestSupport : public BlinkPlatformImpl { ...@@ -73,7 +72,6 @@ class TestBlinkWebUnitTestSupport : public BlinkPlatformImpl {
void BindClipboardHost(mojo::ScopedMessagePipeHandle handle); void BindClipboardHost(mojo::ScopedMessagePipeHandle handle);
std::unique_ptr<MockClipboardHost> mock_clipboard_host_; std::unique_ptr<MockClipboardHost> mock_clipboard_host_;
base::ScopedTempDir file_system_root_;
std::unique_ptr<blink::WebURLLoaderMockFactory> url_loader_factory_; std::unique_ptr<blink::WebURLLoaderMockFactory> url_loader_factory_;
std::unique_ptr<blink::scheduler::WebThreadScheduler> main_thread_scheduler_; std::unique_ptr<blink::scheduler::WebThreadScheduler> main_thread_scheduler_;
bool threaded_animation_ = true; bool threaded_animation_ = true;
......
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