| Index: third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp b/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
|
| index f86229df99d7b45b7b21840a494315c7074e7c86..ef9faf104dc281cfc96fd38462baf22ea3fc98bc 100644
|
| --- a/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/ImeOnFocusTest.cpp
|
| @@ -9,7 +9,6 @@
|
| #include "platform/testing/URLTestHelpers.h"
|
| #include "platform/testing/UnitTestHelpers.h"
|
| #include "public/platform/Platform.h"
|
| -#include "public/platform/WebCache.h"
|
| #include "public/platform/WebURLLoaderMockFactory.h"
|
| #include "public/web/WebDocument.h"
|
| #include "testing/gtest/include/gtest/gtest.h"
|
| @@ -46,8 +45,9 @@ class ImeOnFocusTest : public ::testing::Test {
|
| ImeOnFocusTest() : m_baseURL("http://www.test.com/") {}
|
|
|
| void TearDown() override {
|
| - Platform::current()->getURLLoaderMockFactory()->unregisterAllURLs();
|
| - WebCache::clear();
|
| + Platform::current()
|
| + ->getURLLoaderMockFactory()
|
| + ->unregisterAllURLsAndClearMemoryCache();
|
| }
|
|
|
| protected:
|
|
|