Index: content/browser/frame_host/navigator_impl.cc |
diff --git a/content/browser/frame_host/navigator_impl.cc b/content/browser/frame_host/navigator_impl.cc |
index f23cdee4b55a9479a165c6cd9269b5c028f0d764..50ff49c41a4476ae53937d164a32359ffb775ca2 100644 |
--- a/content/browser/frame_host/navigator_impl.cc |
+++ b/content/browser/frame_host/navigator_impl.cc |
@@ -42,7 +42,6 @@ |
#include "content/public/common/resource_response.h" |
#include "content/public/common/url_constants.h" |
#include "net/base/net_errors.h" |
-#include "url/url_constants.h" |
namespace content { |
@@ -291,8 +290,8 @@ |
// The renderer will reject IPC messages with URLs longer than |
// this limit, so don't attempt to navigate with a longer URL. |
- if (dest_url.spec().size() > url::kMaxURLChars) { |
- LOG(WARNING) << "Refusing to load URL as it exceeds " << url::kMaxURLChars |
+ if (dest_url.spec().size() > kMaxURLChars) { |
+ LOG(WARNING) << "Refusing to load URL as it exceeds " << kMaxURLChars |
<< " characters."; |
return false; |
} |