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

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

Issue 1095463003: update chrome to handle temporary WEB_FRAME_USES_V8_LOCAL condition (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 months 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
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 019f6415ce7550d7f29da85cc7a90e009f8f0b66..d52b02f2c47b754e42d65d57a1eaefd960cc1a35 100644
--- a/content/shell/renderer/test_runner/web_ax_object_proxy.cc
+++ b/content/shell/renderer/test_runner/web_ax_object_proxy.cc
@@ -622,7 +622,11 @@ void WebAXObjectProxy::NotificationReceived(
v8::Isolate* isolate = blink::mainThreadIsolate();
+#ifdef WEB_FRAME_USES_V8_LOCAL
+ v8::Local<v8::Value> argv[] = {
+#else
v8::Handle<v8::Value> argv[] = {
+#endif
v8::String::NewFromUtf8(isolate, notification_name.data(),
v8::String::kNormalString,
notification_name.size()),

Powered by Google App Engine
This is Rietveld 408576698