| Index: third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
|
| diff --git a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
|
| index fe86449f024aa005804e131a68bc6ccc3124a5d5..8c37b847aa5bcb7f07d50979b638dc883ade244e 100644
|
| --- a/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
|
| +++ b/third_party/WebKit/Source/platform/testing/TestingPlatformSupport.cpp
|
| @@ -82,12 +82,12 @@ TestingPlatformSupport::TestingPlatformSupport(const Config& config)
|
| : m_config(config)
|
| , m_oldPlatform(Platform::current())
|
| {
|
| - Platform::initialize(this);
|
| + Platform::setCurrentPlatformForTesting(this);
|
| }
|
|
|
| TestingPlatformSupport::~TestingPlatformSupport()
|
| {
|
| - Platform::initialize(m_oldPlatform);
|
| + Platform::setCurrentPlatformForTesting(m_oldPlatform);
|
| }
|
|
|
| WebDiscardableMemory* TestingPlatformSupport::allocateAndLockDiscardableMemory(size_t bytes)
|
|
|