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

Unified Diff: third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js

Issue 2781193002: DevTools: Adopt nbsp as unit & thousands separator for broader font support (Closed)
Patch Set: update all uses of thinsp. rebaseline tests. Created 3 years, 9 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/profiler/HeapProfileView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js b/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js
index 9a4962ae987df04bdd830e042e82865a72daeace..5c06b954a2a8078c748856a494abb7540b44b9b6 100644
--- a/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js
+++ b/third_party/WebKit/Source/devtools/front_end/profiler/HeapProfileView.js
@@ -272,7 +272,7 @@ Profiler.HeapProfileView.NodeFormatter = class {
* @return {string}
*/
formatPercent(value, node) {
- return Common.UIString('%.2f\u2009%%', value);
+ return Common.UIString('%.2f\xa0%%', value);
}
/**
@@ -323,7 +323,7 @@ Profiler.HeapFlameChartDataProvider = class extends Profiler.ProfileFlameChartDa
* @return {string}
*/
formatValue(value, precision) {
- return Common.UIString('%s\u2009KB', Number.withThousandsSeparator(value / 1e3));
+ return Common.UIString('%s\xa0KB', Number.withThousandsSeparator(value / 1e3));
}
/**

Powered by Google App Engine
This is Rietveld 408576698