Index: chrome/browser/extensions/active_script_controller_browsertest.cc |
diff --git a/chrome/browser/extensions/active_script_controller_browsertest.cc b/chrome/browser/extensions/active_script_controller_browsertest.cc |
index 1bb934c3895b8538f6987d0ea65902d253dc18cf..d4a34aa24aa5d88eb295958d765d6d765515375d 100644 |
--- a/chrome/browser/extensions/active_script_controller_browsertest.cc |
+++ b/chrome/browser/extensions/active_script_controller_browsertest.cc |
@@ -277,7 +277,7 @@ testing::AssertionResult ActiveScriptTester::Verify() { |
DCHECK(action); |
// Grant permission by clicking on the extension action. |
- location_bar_controller->OnClicked(action); |
+ controller->OnClicked(extension_); |
// Now, the extension should be able to inject the script. |
inject_success_listener_->WaitUntilSatisfied(); |