summaryrefslogtreecommitdiffstats
path: root/webkit/glue/webkitclient_impl.h
diff options
context:
space:
mode:
authorchase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-01 18:37:54 +0000
committerchase@chromium.org <chase@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-01 18:37:54 +0000
commitce7dabcdd3528252e5a991f287cdcb2b3853b422 (patch)
treef15094afffc4153fdeb0cf71cbe738d73bc6071b /webkit/glue/webkitclient_impl.h
parent7ea99ca4dcac7ec6bd2ad80f4e04758e901a3f0a (diff)
downloadchromium_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.h2
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);