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

Unified Diff: chrome/browser/extensions/api/automation/automation_apitest.cc

Issue 1151523009: Forward accessibility events to the automation extension process. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@step1
Patch Set: Handle case where RenderThread destroys AutomationMessageFilter first Created 5 years, 6 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 | « no previous file | chrome/browser/extensions/api/automation_internal/automation_event_router.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/api/automation/automation_apitest.cc
diff --git a/chrome/browser/extensions/api/automation/automation_apitest.cc b/chrome/browser/extensions/api/automation/automation_apitest.cc
index 42199e30ee838f0f101bf35dae2713f27603ffc6..cf8cc1df722e63a69714499975324d1d5f1384f8 100644
--- a/chrome/browser/extensions/api/automation/automation_apitest.cc
+++ b/chrome/browser/extensions/api/automation/automation_apitest.cc
@@ -368,9 +368,9 @@ class FakeAutomationInternalEnableTabFunction
using api::automation_internal::EnableTab::Params;
scoped_ptr<Params> params(Params::Create(*args_));
EXTENSION_FUNCTION_VALIDATE(params.get());
- if (!params->tab_id.get())
+ if (!params->args.tab_id.get())
return RespondNow(Error("tab_id not specified"));
- int tab_id = *params->tab_id;
+ int tab_id = *params->args.tab_id;
if (tab_id == 0) {
// tab 0 <--> tree0
base::MessageLoop::current()->PostTask(
« no previous file with comments | « no previous file | chrome/browser/extensions/api/automation_internal/automation_event_router.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698