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

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: made changes. 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/wtf/Partitions.cpp ('K') | « Source/wtf/Partitions.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..48c6d1f36deba88cad73cbba0514f10eb4348e68 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.
Primiano Tucci (use gerrit) 2015/06/03 11:09:23 Hmm this is a bit confusing. Maybe say // Decommit
+BLINK_EXPORT void releaseFreeMemory();
haraken 2015/06/03 11:39:00 Also I'd rename this API to decommitFreeableMemory
ssid 2015/06/05 12:44:49 Done.
+
} // namespace blink
#endif
« Source/wtf/Partitions.cpp ('K') | « Source/wtf/Partitions.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698