diff options
author | chase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-01 18:37:54 +0000 |
---|---|---|
committer | chase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-01 18:37:54 +0000 |
commit | ce7dabcdd3528252e5a991f287cdcb2b3853b422 (patch) | |
tree | f15094afffc4153fdeb0cf71cbe738d73bc6071b /webkit/glue/webkitclient_impl.h | |
parent | 7ea99ca4dcac7ec6bd2ad80f4e04758e901a3f0a (diff) | |
download | chromium_src-ce7dabcdd3528252e5a991f287cdcb2b3853b422.zip chromium_src-ce7dabcdd3528252e5a991f287cdcb2b3853b422.tar.gz chromium_src-ce7dabcdd3528252e5a991f287cdcb2b3853b422.tar.bz2 |
Revert 58153 - Introduce a flag to bypass the cache when retrieving current memory usage.
We need the most fresh value when giving an estimate to current working set, for
example, after major GC in V8 happened.
Review URL: http://codereview.chromium.org/3285003
TBR=antonm@chromium.org
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@58206 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/webkitclient_impl.h')
-rw-r--r-- | webkit/glue/webkitclient_impl.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/glue/webkitclient_impl.h b/webkit/glue/webkitclient_impl.h index 2d446f4..8c0cfa3 100644 --- a/webkit/glue/webkitclient_impl.h +++ b/webkit/glue/webkitclient_impl.h @@ -34,7 +34,7 @@ class WebKitClientImpl : public WebKit::WebKitClient { virtual WebKit::WebString signedPublicKeyAndChallengeString( unsigned key_size_index, const WebKit::WebString& challenge, const WebKit::WebURL& url); - virtual size_t memoryUsageMB(bool no_cache = false); + virtual size_t memoryUsageMB(); virtual WebKit::WebURLLoader* createURLLoader(); virtual WebKit::WebSocketStreamHandle* createSocketStreamHandle(); virtual WebKit::WebString userAgent(const WebKit::WebURL& url); |