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 7926b4c424c15870e49e6e68e28669036f5662ec..dfe4ef7fbae9ddba2f65f1d6156ca4068dd7c993 100644 |
--- a/content/browser/web_contents/web_contents_impl_unittest.cc |
+++ b/content/browser/web_contents/web_contents_impl_unittest.cc |
@@ -21,6 +21,7 @@ |
#include "content/public/common/bindings_policy.h" |
#include "content/public/common/content_constants.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_browser_thread.h" |
#include "content/public/test/test_utils.h" |
@@ -416,7 +417,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( |
- kMaxURLChars + 1, 'a')); |
+ GetMaxURLChars() + 1, 'a')); |
controller().LoadURL( |
url, Referrer(), PAGE_TRANSITION_GENERATED, std::string()); |