| Index: chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc
|
| diff --git a/chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc b/chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc
|
| index db3e0c8986300e14e3e302fde8e027e8386eaba5..9cf6aede5fa9005ce3c5395194068a45bc25e543 100644
|
| --- a/chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc
|
| +++ b/chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc
|
| @@ -63,12 +63,11 @@ class WebDialogWebContentsDelegateTest : public BrowserWithTestWindowTest {
|
| TEST_F(WebDialogWebContentsDelegateTest, DoNothingMethodsTest) {
|
| // None of the following calls should do anything.
|
| EXPECT_TRUE(test_web_contents_delegate_->IsPopupOrPanel(NULL));
|
| - scoped_refptr<history::HistoryAddPageArgs> should_add_args(
|
| - new history::HistoryAddPageArgs(
|
| + history::HistoryAddPageArgs should_add_args(
|
| GURL(), base::Time::Now(), 0, 0, GURL(), history::RedirectList(),
|
| - content::PAGE_TRANSITION_TYPED, history::SOURCE_SYNCED, false));
|
| + content::PAGE_TRANSITION_TYPED, history::SOURCE_SYNCED, false);
|
| EXPECT_FALSE(test_web_contents_delegate_->ShouldAddNavigationToHistory(
|
| - *should_add_args, content::NAVIGATION_TYPE_NEW_PAGE));
|
| + should_add_args, content::NAVIGATION_TYPE_NEW_PAGE));
|
| test_web_contents_delegate_->NavigationStateChanged(NULL, 0);
|
| test_web_contents_delegate_->ActivateContents(NULL);
|
| test_web_contents_delegate_->LoadingStateChanged(NULL);
|
|
|