| 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 fd337fa76b656993147cd2630cc34c0f22ee3418..d9c7f9cf946a2cb37b7e77174ff4922ab1dbe416 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"
|
| @@ -358,7 +359,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
|
|
|