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

Unified Diff: Source/devtools/front_end/timeline/TimelineFlameChart.js

Issue 756913002: DevTools: Rename WI.Color's toString(format) -> asString(format) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix tests Created 6 years, 1 month 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
« no previous file with comments | « Source/devtools/front_end/timeline/CountersGraph.js ('k') | Source/devtools/front_end/ui/UIUtils.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/timeline/TimelineFlameChart.js
diff --git a/Source/devtools/front_end/timeline/TimelineFlameChart.js b/Source/devtools/front_end/timeline/TimelineFlameChart.js
index fba4f02acf60cfd1f056b6c8cda7e697f2116ae3..e663ccf2e29fb08bc00fc0235fdd3e949075bd28 100644
--- a/Source/devtools/front_end/timeline/TimelineFlameChart.js
+++ b/Source/devtools/front_end/timeline/TimelineFlameChart.js
@@ -386,7 +386,7 @@ WebInspector.TimelineFlameChartDataProvider.prototype = {
if (color)
return color;
var parsedColor = WebInspector.Color.parse(category.fillColorStop1);
- color = parsedColor.setAlpha(0.7).toString(WebInspector.Color.Format.RGBA) || "";
+ color = parsedColor.setAlpha(0.7).asString(WebInspector.Color.Format.RGBA) || "";
this._asyncColorByCategory[category.name] = color;
return color;
}
« no previous file with comments | « Source/devtools/front_end/timeline/CountersGraph.js ('k') | Source/devtools/front_end/ui/UIUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698