| Index: chrome/renderer/content_settings_observer_browsertest.cc
|
| diff --git a/chrome/renderer/content_settings_observer_browsertest.cc b/chrome/renderer/content_settings_observer_browsertest.cc
|
| index d49ff98b0ec44dccf37c1c96a51a4c37205189d7..1728401ef49685bb714453ae0d6d12f9ecc9808f 100644
|
| --- a/chrome/renderer/content_settings_observer_browsertest.cc
|
| +++ b/chrome/renderer/content_settings_observer_browsertest.cc
|
| @@ -158,7 +158,7 @@ TEST_F(ChromeRenderViewTest, PluginsTemporarilyAllowed) {
|
| EXPECT_FALSE(observer->IsPluginTemporarilyAllowed(bar_plugin));
|
|
|
| // Simulate a navigation within the page.
|
| - DidNavigateWithinPage(GetMainFrame(), true);
|
| + DidNavigateWithinPage(GetMainFrame(), true, true);
|
| EXPECT_TRUE(observer->IsPluginTemporarilyAllowed(foo_plugin));
|
| EXPECT_FALSE(observer->IsPluginTemporarilyAllowed(bar_plugin));
|
|
|
| @@ -428,7 +428,7 @@ TEST_F(ChromeRenderViewTest, ContentSettingsSamePageNavigation) {
|
|
|
| // The page shouldn't see the change to script blocking setting after a
|
| // same page navigation.
|
| - DidNavigateWithinPage(GetMainFrame(), true);
|
| + DidNavigateWithinPage(GetMainFrame(), true, true);
|
| EXPECT_TRUE(observer->allowScript(true));
|
| }
|
|
|
|
|