| Index: trunk/src/chrome/browser/ui/views/constrained_window_views_browsertest.cc
|
| ===================================================================
|
| --- trunk/src/chrome/browser/ui/views/constrained_window_views_browsertest.cc (revision 220635)
|
| +++ trunk/src/chrome/browser/ui/views/constrained_window_views_browsertest.cc (working copy)
|
| @@ -5,7 +5,6 @@
|
| #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"
|
| @@ -410,7 +409,7 @@
|
| // Wait for the navigation to commit, since the URL will not be visible
|
| // until then.
|
| back_observer.Wait();
|
| - EXPECT_TRUE(chrome::IsNTPURL(web_contents->GetURL(), browser()->profile()));
|
| + EXPECT_EQ(new_tab_url.spec(), web_contents->GetURL().spec());
|
| }
|
|
|
| // Fails flakily (once per 10-20 runs) on Win Aura only. http://crbug.com/177482
|
|
|