Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3010)

Unified Diff: content/shell/renderer/test_runner/web_ax_object_proxy.cc

Issue 753523002: remove some calls to to-be-deprecated v8::Value::To* functions (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « content/shell/renderer/test_runner/test_runner.cc ('k') | extensions/renderer/module_system_test.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/web_ax_object_proxy.cc
diff --git a/content/shell/renderer/test_runner/web_ax_object_proxy.cc b/content/shell/renderer/test_runner/web_ax_object_proxy.cc
index 9771d5dc5b7716710429c7fd1689d63cc824793c..aaf7bb7aaea5ec3e806cbd23f526ec11469b3dac 100644
--- a/content/shell/renderer/test_runner/web_ax_object_proxy.cc
+++ b/content/shell/renderer/test_runner/web_ax_object_proxy.cc
@@ -1108,7 +1108,7 @@ v8::Handle<v8::Object> WebAXObjectProxyList::GetOrCreate(
isolate, new WebAXObjectProxy(object, this)).ToV8();
if (value_handle.IsEmpty())
return v8::Handle<v8::Object>();
- v8::Handle<v8::Object> handle = value_handle->ToObject();
+ v8::Handle<v8::Object> handle = value_handle->ToObject(isolate);
elements_.Append(handle);
return handle;
}
@@ -1120,7 +1120,7 @@ v8::Handle<v8::Object> WebAXObjectProxyList::CreateRoot(
isolate, new RootWebAXObjectProxy(object, this)).ToV8();
if (value_handle.IsEmpty())
return v8::Handle<v8::Object>();
- v8::Handle<v8::Object> handle = value_handle->ToObject();
+ v8::Handle<v8::Object> handle = value_handle->ToObject(isolate);
elements_.Append(handle);
return handle;
}
« no previous file with comments | « content/shell/renderer/test_runner/test_runner.cc ('k') | extensions/renderer/module_system_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698