Index: content/browser/web_contents/web_contents_impl_unittest.cc |
diff --git a/content/browser/web_contents/web_contents_impl_unittest.cc b/content/browser/web_contents/web_contents_impl_unittest.cc |
index c66ac286d1c4f7bd037093f87e0e0ca376ee2864..5ba80e0c1bf3a0e10434a4664602a55183a582ed 100644 |
--- a/content/browser/web_contents/web_contents_impl_unittest.cc |
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc |
@@ -33,7 +33,6 @@ |
#include "content/public/common/content_constants.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/common/url_constants.h" |
-#include "content/public/common/url_utils.h" |
#include "content/public/test/mock_render_process_host.h" |
#include "content/public/test/test_utils.h" |
#include "content/test/test_content_browser_client.h" |
@@ -482,7 +481,7 @@ TEST_F(WebContentsImplTest, SimpleNavigation) { |
TEST_F(WebContentsImplTest, NavigateToExcessivelyLongURL) { |
// Construct a URL that's kMaxURLChars + 1 long of all 'a's. |
const GURL url(std::string("http://example.org/").append( |
- GetMaxURLChars() + 1, 'a')); |
+ kMaxURLChars + 1, 'a')); |
controller().LoadURL( |
url, Referrer(), ui::PAGE_TRANSITION_GENERATED, std::string()); |