Index: content/renderer/render_view_impl.cc |
diff --git a/content/renderer/render_view_impl.cc b/content/renderer/render_view_impl.cc |
index 59b9dcc5aeb45162f8b0aca4ae328e32db488269..abfa452135ac776a9e2766090d9d65a3f0c6315c 100644 |
--- a/content/renderer/render_view_impl.cc |
+++ b/content/renderer/render_view_impl.cc |
@@ -539,7 +539,7 @@ static bool IsNonLocalTopLevelNavigation(const GURL& url, |
} |
static void NotifyTimezoneChange(WebKit::WebFrame* frame) { |
- v8::HandleScope handle_scope; |
+ v8::HandleScope handle_scope(v8::Isolate::GetCurrent()); |
v8::Context::Scope context_scope(frame->mainWorldScriptContext()); |
v8::Date::DateTimeConfigurationChangeNotification(); |
WebKit::WebFrame* child = frame->firstChild(); |
@@ -4384,7 +4384,7 @@ void RenderViewImpl::EvaluateScript(const string16& frame_xpath, |
const string16& jscript, |
int id, |
bool notify_result) { |
- v8::HandleScope handle_scope; |
+ v8::HandleScope handle_scope(v8::Isolate::GetCurrent()); |
v8::Handle<v8::Value> result; |
WebFrame* web_frame = GetChildFrame(frame_xpath); |
if (web_frame) |