Index: Source/devtools/front_end/CPUProfileView.js |
diff --git a/Source/devtools/front_end/CPUProfileView.js b/Source/devtools/front_end/CPUProfileView.js |
index eae611873bd3f53ea7aa10aa8611cf719398cffb..bfe6878f9c3c58fdd7d4f0d790192ed11bc3717e 100644 |
--- a/Source/devtools/front_end/CPUProfileView.js |
+++ b/Source/devtools/front_end/CPUProfileView.js |
@@ -1067,6 +1067,22 @@ WebInspector.CPUFlameChartDataProvider.prototype = { |
}, |
/** |
+ * @return {number} |
+ */ |
+ textBaseline: function() |
+ { |
+ return 4; |
+ }, |
+ |
+ /** |
+ * @return {number} |
+ */ |
+ textPadding: function() |
+ { |
+ return 2; |
+ }, |
+ |
+ /** |
* @param {number} startTime |
* @param {number} endTime |
* @return {?Array.<number>} |
@@ -1337,4 +1353,13 @@ WebInspector.CPUFlameChartDataProvider.prototype = { |
{ |
return this._entryColors[entryIndex]; |
}, |
+ |
+ /** |
+ * @param {number} entryIndex |
+ * @return {!string} |
+ */ |
+ textColor: function(entryIndex) |
+ { |
+ return "#333"; |
+ } |
} |