Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(28)

Unified Diff: third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js

Issue 2827843002: [Devtools] Network waterfall and grid rows feed bg color from same place (Closed)
Patch Set: changes Created 3 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 48b5d1dbf9447ed4dceaf19fe99d950cbbbfae9c..76e79c65b58ef9bc528727e3069dfca1ebd61754 100644
--- a/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
+++ b/third_party/WebKit/Source/devtools/front_end/ui/UIUtils.js
@@ -1869,7 +1869,7 @@ UI.ThemeSupport = class {
return text;
var hsla = color.hsla();
- this._patchHSLA(hsla, colorUsage);
+ this.patchHSLA(hsla, colorUsage);
var rgba = [];
Common.Color.hsl2rgb(hsla, rgba);
var outColor = new Common.Color(rgba, color.format());
@@ -1883,7 +1883,7 @@ UI.ThemeSupport = class {
* @param {!Array<number>} hsla
* @param {!UI.ThemeSupport.ColorUsage} colorUsage
*/
- _patchHSLA(hsla, colorUsage) {
+ patchHSLA(hsla, colorUsage) {
pfeldman 2017/04/19 19:52:03 I see what you did here. Don't!
allada 2017/04/19 23:38:46 Done.
var hue = hsla[0];
var sat = hsla[1];
var lit = hsla[2];

Powered by Google App Engine
This is Rietveld 408576698