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

Unified Diff: third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-test.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/LayoutTests/inspector/profiler/heap-snapshot-test.js
diff --git a/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-test.js b/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-test.js
index eed31439dbbfc7a4c8cfa883f9aa6e0ca81723da..9eabb78f987f9ec84267b762c17a12152371819c 100644
--- a/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-test.js
+++ b/third_party/WebKit/LayoutTests/inspector/profiler/heap-snapshot-test.js
@@ -482,7 +482,7 @@ InspectorTest.checkArrayIsSorted = function(contents, sortType, sortOrder)
function parseSize(size)
{
// Remove thousands separator.
- return parseInt(size.replace(/[\u2009,]/g, ""), 10);
+ return parseInt(size.replace(/[\xa0,]/g, ""), 10);
}
var extractor = {
text: function (data) { data; },

Powered by Google App Engine
This is Rietveld 408576698