Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(132)

Unified Diff: third_party/WebKit/Source/web/WebMemoryCoordinator.cpp

Issue 2252743002: Revert of Add MemoryCoordinatorClient (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/web/WebMemoryCoordinator.cpp
diff --git a/third_party/WebKit/Source/web/WebMemoryCoordinator.cpp b/third_party/WebKit/Source/web/WebMemoryCoordinator.cpp
new file mode 100644
index 0000000000000000000000000000000000000000..225ee6b90a0ddd70b7ab4bfc33113644e8cef0ed
--- /dev/null
+++ b/third_party/WebKit/Source/web/WebMemoryCoordinator.cpp
@@ -0,0 +1,17 @@
+// Copyright (c) 2015 The Chromium Authors. All rights reserved.
+// 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 "core/dom/MemoryCoordinator.h"
+#include "core/page/Page.h"
+
+namespace blink {
+
+void WebMemoryCoordinator::onMemoryPressure(WebMemoryPressureLevel pressureLevel)
+{
+ MemoryCoordinator::instance().onMemoryPressure(pressureLevel);
+}
+
+} // namespace blink
« no previous file with comments | « third_party/WebKit/Source/platform/exported/WebMemoryCoordinator.cpp ('k') | third_party/WebKit/Source/web/web.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698