| Index: content/renderer/render_frame_impl.cc
|
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
|
| index ae0e55896267f867ae10ea7368ee25231b872224..539ac96013377f5c2e93f7947eeecd673083d97c 100644
|
| --- a/content/renderer/render_frame_impl.cc
|
| +++ b/content/renderer/render_frame_impl.cc
|
| @@ -179,6 +179,7 @@
|
| #include "third_party/WebKit/public/web/WebSurroundingText.h"
|
| #include "third_party/WebKit/public/web/WebUserGestureIndicator.h"
|
| #include "third_party/WebKit/public/web/WebView.h"
|
| +#include "url/url_constants.h"
|
| #include "url/url_util.h"
|
|
|
| #if defined(ENABLE_PLUGINS)
|
| @@ -3644,7 +3645,7 @@ void RenderFrameImpl::showContextMenu(const blink::WebContextMenuData& data) {
|
| // in the context menu.
|
| // TODO(jcivelli): http://crbug.com/45160 This prevents us from saving large
|
| // data encoded images. We should have a way to save them.
|
| - if (params.src_url.spec().size() > kMaxURLChars)
|
| + if (params.src_url.spec().size() > url::kMaxURLChars)
|
| params.src_url = GURL();
|
| context_menu_node_ = data.node;
|
|
|
|
|