Index: chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc |
diff --git a/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc b/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc |
index ef231be18368ffa43965eb582962fbbfcd8f833d..007f2b0729babaacbc87afd3f10f7c113cd66e96 100644 |
--- a/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc |
+++ b/chrome/browser/extensions/api/web_navigation/web_navigation_apitest.cc |
@@ -222,7 +222,8 @@ class DelayLoadStartAndExecuteJavascript |
content::RenderFrameHost* render_frame_host, |
const GURL& url, |
ui::PageTransition transition_type) override { |
- if (script_was_executed_ && EndsWith(url.spec(), until_url_suffix_, true)) { |
+ if (script_was_executed_ && |
+ base::EndsWith(url.spec(), until_url_suffix_, true)) { |
content::WebContentsObserver::Observe(NULL); |
test_navigation_listener_->ResumeAll(); |
} |