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

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

Issue 650993004: Cleanup invalidation reason strings (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 2 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
« no previous file with comments | « Source/core/inspector/InspectorTraceEvents.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/timeline/TracingTimelineUIUtils.js
diff --git a/Source/devtools/front_end/timeline/TracingTimelineUIUtils.js b/Source/devtools/front_end/timeline/TracingTimelineUIUtils.js
index f3b180ff16d009fcbb58e6cd813c68124f1ffed0..7f9139a31898d9d467d150845affdb79db4ea794 100644
--- a/Source/devtools/front_end/timeline/TracingTimelineUIUtils.js
+++ b/Source/devtools/front_end/timeline/TracingTimelineUIUtils.js
@@ -817,10 +817,7 @@ WebInspector.TracingTimelineUIUtils._generateInvalidationsForType = function(typ
if (invalidation.reason) {
var reasonRow = row.createChild("div");
var reason = invalidation.reason;
- // We should clean up invalidation strings so they are consistent: crbug.com/424451.
- if (!invalidation.reason.endsWith("."))
- reason += ".";
- reasonRow.textContent = WebInspector.UIString("Reason: %s", reason);
+ reasonRow.textContent = WebInspector.UIString("Reason: %s.", reason);
}
if (invalidation.stackTrace)
« no previous file with comments | « Source/core/inspector/InspectorTraceEvents.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698