| Index: content/browser/browser_plugin/browser_plugin_host_browsertest.cc
|
| diff --git a/content/browser/browser_plugin/browser_plugin_host_browsertest.cc b/content/browser/browser_plugin/browser_plugin_host_browsertest.cc
|
| index e883fc01c138044e1cb57586ff5b38c252036a92..053a97f8f27b6b1633afa299971ff8b5ecef802c 100644
|
| --- a/content/browser/browser_plugin/browser_plugin_host_browsertest.cc
|
| +++ b/content/browser/browser_plugin/browser_plugin_host_browsertest.cc
|
| @@ -91,13 +91,11 @@ class TestBrowserPluginHostFactory : public BrowserPluginHostFactory {
|
| int instance_id,
|
| WebContentsImpl* web_contents,
|
| RenderViewHost* render_view_host,
|
| - bool focused,
|
| - bool visible) OVERRIDE {
|
| + const BrowserPluginHostMsg_CreateGuest_Params& params) OVERRIDE {
|
| return new TestBrowserPluginGuest(instance_id,
|
| web_contents,
|
| render_view_host,
|
| - focused,
|
| - visible);
|
| + params);
|
| }
|
|
|
| // Also keeps track of number of instances created.
|
| @@ -149,13 +147,12 @@ class TestShortHangTimeoutGuestFactory : public TestBrowserPluginHostFactory {
|
| int instance_id,
|
| WebContentsImpl* web_contents,
|
| RenderViewHost* render_view_host,
|
| - bool focused,
|
| - bool visible) OVERRIDE {
|
| - BrowserPluginGuest* guest = new TestBrowserPluginGuest(instance_id,
|
| - web_contents,
|
| - render_view_host,
|
| - focused,
|
| - visible);
|
| + const BrowserPluginHostMsg_CreateGuest_Params& params) OVERRIDE {
|
| + BrowserPluginGuest* guest =
|
| + new TestBrowserPluginGuest(instance_id,
|
| + web_contents,
|
| + render_view_host,
|
| + params);
|
| guest->set_guest_hang_timeout_for_testing(TestTimeouts::tiny_timeout());
|
| return guest;
|
| }
|
|
|