diff options
Diffstat (limited to 'webkit/extensions/v8/benchmarking_extension.cc')
-rw-r--r-- | webkit/extensions/v8/benchmarking_extension.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/extensions/v8/benchmarking_extension.cc b/webkit/extensions/v8/benchmarking_extension.cc index 501d483..4823718 100644 --- a/webkit/extensions/v8/benchmarking_extension.cc +++ b/webkit/extensions/v8/benchmarking_extension.cc @@ -64,7 +64,7 @@ class BenchmarkingWrapper : public v8::Extension { } static v8::Handle<v8::Value> GetCounter(const v8::Arguments& args) { - if (!args.Length() || !args[0]->IsString()) + if (!args.Length() || !args[0]->IsString() || !StatsTable::current()) return v8::Undefined(); // Extract the name argument |