| Index: third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp
|
| diff --git a/third_party/WebKit/Source/web/WebMemoryCoordinator.cpp b/third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp
|
| similarity index 66%
|
| rename from third_party/WebKit/Source/web/WebMemoryCoordinator.cpp
|
| rename to third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp
|
| index 225ee6b90a0ddd70b7ab4bfc33113644e8cef0ed..3ff71f08b5ac32dd515bb9d0a43fbe199e7ad762 100644
|
| --- a/third_party/WebKit/Source/web/WebMemoryCoordinator.cpp
|
| +++ b/third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp
|
| @@ -2,10 +2,9 @@
|
| // Use of this source code is governed by a BSD-style license that can be
|
| // found in the LICENSE file.
|
|
|
| -#include "public/web/WebMemoryCoordinator.h"
|
| +#include "public/platform/WebMemoryCoordinator.h"
|
|
|
| -#include "core/dom/MemoryCoordinator.h"
|
| -#include "core/page/Page.h"
|
| +#include "platform/MemoryCoordinator.h"
|
|
|
| namespace blink {
|
|
|
| @@ -14,4 +13,9 @@ void WebMemoryCoordinator::onMemoryPressure(WebMemoryPressureLevel pressureLevel
|
| MemoryCoordinator::instance().onMemoryPressure(pressureLevel);
|
| }
|
|
|
| +void WebMemoryCoordinator::purgeMemory()
|
| +{
|
| + MemoryCoordinator::instance().purgeMemory();
|
| +}
|
| +
|
| } // namespace blink
|
|
|