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

Unified Diff: public/web/WebKit.h

Issue 1155293007: Expose ReleaseFreeMemory to free up memory on memory pressure or idle cleanup. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 7 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
« Source/web/WebKit.cpp ('K') | « Source/web/WebKit.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: public/web/WebKit.h
diff --git a/public/web/WebKit.h b/public/web/WebKit.h
index 24e267caddf4d633d3c099a18a62300d531549a3..04fc2fe4bdd16a38cc9d7d2464e380b06210cbb7 100644
--- a/public/web/WebKit.h
+++ b/public/web/WebKit.h
@@ -85,6 +85,9 @@ BLINK_EXPORT void enableLogChannel(const char*);
// containing plugins will be reloaded after refreshing the plugin list.
BLINK_EXPORT void resetPluginCache(bool reloadPages = false);
+// Clears free memory held for performance.
+BLINK_EXPORT void ReleaseFreeMemory();
+
} // namespace blink
#endif
« Source/web/WebKit.cpp ('K') | « Source/web/WebKit.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698