Index: components/test_runner/web_frame_test_client.cc |
diff --git a/components/test_runner/web_frame_test_client.cc b/components/test_runner/web_frame_test_client.cc |
index ed7e7a5c9496cbdf8f805f8832f2fe997d4f644a..251c001fef0ced5cf8e1b42f2067ef787e2c4705 100644 |
--- a/components/test_runner/web_frame_test_client.cc |
+++ b/components/test_runner/web_frame_test_client.cc |
@@ -390,7 +390,7 @@ blink::WebPlugin* WebFrameTestClient::createPlugin( |
void WebFrameTestClient::showContextMenu( |
const blink::WebContextMenuData& context_menu_data) { |
- web_test_proxy_base_->event_sender()->SetContextMenuData(context_menu_data); |
+ web_frame_test_proxy_base_->event_sender()->SetContextMenuData(context_menu_data); |
} |
blink::WebUserMediaClient* WebFrameTestClient::userMediaClient() { |
@@ -750,6 +750,7 @@ void WebFrameTestClient::checkIfAudioSinkExistsAndIsAuthorized( |
void WebFrameTestClient::didClearWindowObject(blink::WebLocalFrame* frame) { |
web_test_proxy_base_->test_interfaces()->BindTo(frame); |
web_test_proxy_base_->BindTo(frame); |
+ web_frame_test_proxy_base_->BindTo(frame); |
} |
} // namespace test_runner |