summaryrefslogtreecommitdiffstats
path: root/chrome/test/base/v8_unit_test.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/test/base/v8_unit_test.cc')
-rw-r--r--chrome/test/base/v8_unit_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/chrome/test/base/v8_unit_test.cc b/chrome/test/base/v8_unit_test.cc
index 623f815..4e0c307 100644
--- a/chrome/test/base/v8_unit_test.cc
+++ b/chrome/test/base/v8_unit_test.cc
@@ -167,7 +167,7 @@ void V8UnitTest::SetUp() {
v8::Handle<v8::ObjectTemplate> global = v8::ObjectTemplate::New(isolate_);
v8::Handle<v8::String> logString = v8::String::NewFromUtf8(isolate_, "log");
v8::Handle<v8::FunctionTemplate> logFunction =
- v8::FunctionTemplate::New(&V8UnitTest::Log);
+ v8::FunctionTemplate::New(isolate_, &V8UnitTest::Log);
global->Set(logString, logFunction);
// Set up chrome object for chrome.send().