| Index: third_party/WebKit/Source/devtools/front_end/source_frame/ImageView.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/source_frame/ImageView.js b/third_party/WebKit/Source/devtools/front_end/source_frame/ImageView.js
|
| index 433f7e0fa6de4b52b7f5643ec5e965b738d9ea37..9ea1f11fc1a14d757baead71df557f6de70ab38e 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/source_frame/ImageView.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/source_frame/ImageView.js
|
| @@ -104,9 +104,10 @@ WebInspector.ImageView.prototype = {
|
| _contextMenu: function(event)
|
| {
|
| var contextMenu = new WebInspector.ContextMenu(event);
|
| - contextMenu.appendItem(WebInspector.UIString.capitalize("Copy ^image URL"), this._copyImageURL.bind(this));
|
| + if (!this._parsedURL.isDataURL())
|
| + contextMenu.appendItem(WebInspector.UIString.capitalize("Copy ^image URL"), this._copyImageURL.bind(this));
|
| if (this._imagePreviewElement.src)
|
| - contextMenu.appendItem(WebInspector.UIString.capitalize("Copy ^image as Data URL"), this._copyImageAsDataURL.bind(this));
|
| + contextMenu.appendItem(WebInspector.UIString.capitalize("Copy ^image as Data URI"), this._copyImageAsDataURL.bind(this));
|
| contextMenu.appendItem(WebInspector.UIString.capitalize("Open ^image in ^new ^tab"), this._openInNewTab.bind(this));
|
| contextMenu.show();
|
| },
|
|
|