| Index: chrome/browser/ui/views/constrained_window_views_browsertest.cc
|
| diff --git a/chrome/browser/ui/views/constrained_window_views_browsertest.cc b/chrome/browser/ui/views/constrained_window_views_browsertest.cc
|
| index 6f63e2e8399fd451ace4410594b11c1d283de76f..4bbc0c2902b776ec3923b21202c40fe94174c3c6 100644
|
| --- a/chrome/browser/ui/views/constrained_window_views_browsertest.cc
|
| +++ b/chrome/browser/ui/views/constrained_window_views_browsertest.cc
|
| @@ -5,6 +5,7 @@
|
| #include "base/memory/weak_ptr.h"
|
| #include "chrome/browser/platform_util.h"
|
| #include "chrome/browser/profiles/profile.h"
|
| +#include "chrome/browser/search/search.h"
|
| #include "chrome/browser/ui/browser.h"
|
| #include "chrome/browser/ui/browser_commands.h"
|
| #include "chrome/browser/ui/tabs/tab_strip_model.h"
|
| @@ -409,7 +410,7 @@ IN_PROC_BROWSER_TEST_F(ConstrainedWindowViewTest,
|
| // Wait for the navigation to commit, since the URL will not be visible
|
| // until then.
|
| back_observer.Wait();
|
| - EXPECT_EQ(new_tab_url.spec(), web_contents->GetURL().spec());
|
| + EXPECT_TRUE(chrome::IsNTPURL(web_contents->GetURL(), browser()->profile()));
|
| }
|
|
|
| // Fails flakily (once per 10-20 runs) on Win Aura only. http://crbug.com/177482
|
|
|