| Index: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| index b771c66cd6fd8dde5f5bf004dadba4fbe2f0b754..1eeb4144f3cc5ef60cb0e3b627a7aa746873078f 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
|
| @@ -2014,6 +2014,14 @@ UI.loadImage = function(url) {
|
| });
|
| };
|
|
|
| +/**
|
| + * @param {?string} data
|
| + * @return {!Promise<?Image>}
|
| + */
|
| +UI.loadImageFromData = function(data) {
|
| + return data ? UI.loadImage('data:image/jpg;base64,' + data) : Promise.resolve(null);
|
| +};
|
| +
|
| /** @type {!UI.ThemeSupport} */
|
| UI.themeSupport;
|
|
|
|
|