summaryrefslogtreecommitdiffstats
path: root/webkit/extensions/v8/benchmarking_extension.cc
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/extensions/v8/benchmarking_extension.cc')
-rwxr-xr-x[-rw-r--r--]webkit/extensions/v8/benchmarking_extension.cc4
1 files changed, 1 insertions, 3 deletions
diff --git a/webkit/extensions/v8/benchmarking_extension.cc b/webkit/extensions/v8/benchmarking_extension.cc
index bac4677..362a928 100644..100755
--- a/webkit/extensions/v8/benchmarking_extension.cc
+++ b/webkit/extensions/v8/benchmarking_extension.cc
@@ -55,9 +55,7 @@ class BenchmarkingWrapper : public v8::Extension {
}
static v8::Handle<v8::Value> ClearCache(const v8::Arguments& args) {
- // TODO(mbelshe): should be enable/disable?
- webkit_glue::SetCacheMode(false);
-
+ webkit_glue::ClearCache();
WebCache::clear();
return v8::Undefined();
}