| Index: content/public/test/render_view_test.cc
|
| diff --git a/content/public/test/render_view_test.cc b/content/public/test/render_view_test.cc
|
| index 4136fe04f99fec71bce3323949ffcf4a2349f4a0..ac8c37af4d20120918afc6a745474fef8961b491 100644
|
| --- a/content/public/test/render_view_test.cc
|
| +++ b/content/public/test/render_view_test.cc
|
| @@ -93,7 +93,7 @@ void RenderViewTest::ExecuteJavaScript(const char* js) {
|
| bool RenderViewTest::ExecuteJavaScriptAndReturnIntValue(
|
| const string16& script,
|
| int* int_result) {
|
| - v8::HandleScope handle_scope;
|
| + v8::HandleScope handle_scope(v8::Isolate::GetCurrent());
|
| v8::Handle<v8::Value> result =
|
| GetMainFrame()->executeScriptAndReturnValue(WebScriptSource(script));
|
| if (result.IsEmpty() || !result->IsInt32())
|
| @@ -255,7 +255,7 @@ gfx::Rect RenderViewTest::GetElementBounds(const std::string& element_id) {
|
| std::string script =
|
| ReplaceStringPlaceholders(kGetCoordinatesScript, params, NULL);
|
|
|
| - v8::HandleScope handle_scope;
|
| + v8::HandleScope handle_scope(v8::Isolate::GetCurrent());
|
| v8::Handle<v8::Value> value = GetMainFrame()->executeScriptAndReturnValue(
|
| WebScriptSource(WebString::fromUTF8(script)));
|
| if (value.IsEmpty() || !value->IsArray())
|
|
|