| Index: third_party/WebKit/Source/platform/MemoryCoordinator.h
|
| diff --git a/third_party/WebKit/Source/platform/MemoryCoordinator.h b/third_party/WebKit/Source/platform/MemoryCoordinator.h
|
| index c19de9a211491c7d111206b892e96335dc6eea91..0aa61c576e6a2fab183781000ee124da85bc1f2e 100644
|
| --- a/third_party/WebKit/Source/platform/MemoryCoordinator.h
|
| +++ b/third_party/WebKit/Source/platform/MemoryCoordinator.h
|
| @@ -17,11 +17,6 @@ class PLATFORM_EXPORT MemoryCoordinatorClient : public GarbageCollectedMixin {
|
| public:
|
| virtual ~MemoryCoordinatorClient() {}
|
|
|
| - // Called when MemoryCoordinator is asked to prepare for suspending
|
| - // the renderer. Clients should purge discardable memory as much as
|
| - // possible.
|
| - virtual void prepareToSuspend() {}
|
| -
|
| // TODO(bashi): Deprecating. Remove this when MemoryPressureListener is
|
| // gone.
|
| virtual void onMemoryPressure(WebMemoryPressureLevel) {}
|
| @@ -41,8 +36,6 @@ class PLATFORM_EXPORT MemoryCoordinator final
|
| void registerClient(MemoryCoordinatorClient*);
|
| void unregisterClient(MemoryCoordinatorClient*);
|
|
|
| - void prepareToSuspend();
|
| -
|
| // TODO(bashi): Deprecating. Remove this when MemoryPressureListener is
|
| // gone.
|
| void onMemoryPressure(WebMemoryPressureLevel);
|
|
|