| Index: components/test_runner/test_common.cc
|
| diff --git a/components/test_runner/test_common.cc b/components/test_runner/test_common.cc
|
| index 4d295815b122a78bbf8a1fea92ed7568335c14f3..3639e7c75810a6c6e966730e52ff879a3c45805f 100644
|
| --- a/components/test_runner/test_common.cc
|
| +++ b/components/test_runner/test_common.cc
|
| @@ -9,9 +9,8 @@
|
| #include "base/lazy_instance.h"
|
| #include "base/macros.h"
|
| #include "base/rand_util.h"
|
| -#include "third_party/WebKit/public/platform/Platform.h"
|
| -#include "third_party/WebKit/public/web/WebKit.h"
|
| #include "third_party/WebKit/public/web/WebNavigationPolicy.h"
|
| +#include "url/gurl.h"
|
|
|
| namespace test_runner {
|
|
|
| @@ -25,22 +24,6 @@ const char file_test_prefix[] = "(file test):";
|
| const char data_url_pattern[] = "data:";
|
| const std::string::size_type data_url_pattern_size =
|
| sizeof(data_url_pattern) - 1;
|
| -
|
| -// This mock is used to initialize blink.
|
| -class MockBlinkPlatform : NON_EXPORTED_BASE(public blink::Platform) {
|
| - public:
|
| - MockBlinkPlatform() {
|
| - blink::Platform::initialize(this);
|
| - }
|
| - ~MockBlinkPlatform() override {}
|
| -
|
| - private:
|
| - DISALLOW_COPY_AND_ASSIGN(MockBlinkPlatform);
|
| -};
|
| -
|
| -base::LazyInstance<MockBlinkPlatform>::Leaky g_mock_blink_platform =
|
| - LAZY_INSTANCE_INITIALIZER;
|
| -
|
| const char* kIllegalString = "illegal value";
|
| const char* kPolicyIgnore = "Ignore";
|
| const char* kPolicyDownload = "download";
|
| @@ -102,8 +85,4 @@ blink::WebString V8StringToWebString(v8::Local<v8::String> v8_str) {
|
| return blink::WebString::fromUTF8(chars.get());
|
| }
|
|
|
| -void EnsureBlinkInitialized() {
|
| - g_mock_blink_platform.Get();
|
| -}
|
| -
|
| } // namespace test_runner
|
|
|