| Index: third_party/WebKit/Source/devtools/front_end/common/Color.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/common/Color.js b/third_party/WebKit/Source/devtools/front_end/common/Color.js
|
| index ed25f69a236388ae333ce2b4a893177e14d2809f..10db6092691ad3c40e3a3ad8a780b72c9affe8e4 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/common/Color.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/common/Color.js
|
| @@ -614,6 +614,16 @@ Common.Color = class {
|
| rgba[3] = alpha;
|
| return new Common.Color(rgba, Common.Color.Format.RGBA);
|
| }
|
| +
|
| + /**
|
| + * @param {!Common.Color} fgColor
|
| + * @return {!Common.Color}
|
| + */
|
| + blendWith(fgColor) {
|
| + var rgba = [];
|
| + Common.Color.blendColors(fgColor._rgba, this._rgba, rgba);
|
| + return new Common.Color(rgba, Common.Color.Format.RGBA);
|
| + }
|
| };
|
|
|
| /** @type {!RegExp} */
|
|
|