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

Unified Diff: content/shell/renderer/test_runner/accessibility_controller.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
« no previous file with comments | « content/renderer/web_ui_runner.cc ('k') | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/shell/renderer/test_runner/accessibility_controller.cc
diff --git a/content/shell/renderer/test_runner/accessibility_controller.cc b/content/shell/renderer/test_runner/accessibility_controller.cc
index 06531a0ec76c19139c5a8c30d3496c8dde72ebc9..4538c78665d7a7202087b5b01f9e84e55ecabdf1 100644
--- a/content/shell/renderer/test_runner/accessibility_controller.cc
+++ b/content/shell/renderer/test_runner/accessibility_controller.cc
@@ -191,7 +191,11 @@ void AccessibilityController::NotificationReceived(
return;
// Call global notification listeners.
+#ifdef WEB_FRAME_USES_V8_LOCAL
+ v8::Local<v8::Value> argv[] = {
+#else
v8::Handle<v8::Value> argv[] = {
+#endif
element_handle,
v8::String::NewFromUtf8(isolate, notification_name.data(),
v8::String::kNormalString,
« no previous file with comments | « content/renderer/web_ui_runner.cc ('k') | content/shell/renderer/test_runner/test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698