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

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

Issue 336183005: Remove title() from TimelineModel.Record (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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: Source/devtools/front_end/timeline/TracingTimelineModel.js
diff --git a/Source/devtools/front_end/timeline/TracingTimelineModel.js b/Source/devtools/front_end/timeline/TracingTimelineModel.js
index 1cc5637b317ac23f3ea81841c30a0bdc910b9a7e..482fa1364e9e9fdb7429d5ea275123019acaa2bf 100644
--- a/Source/devtools/front_end/timeline/TracingTimelineModel.js
+++ b/Source/devtools/front_end/timeline/TracingTimelineModel.js
@@ -538,14 +538,6 @@ WebInspector.TracingTimelineModel.TraceEventRecord.prototype = {
},
/**
- * @return {string}
- */
- title: function()
- {
- return WebInspector.TracingTimelineUIUtils.styleForTraceEvent(this._event.name).title;
- },
-
- /**
* @return {number}
*/
startTime: function()
@@ -660,21 +652,6 @@ WebInspector.TracingTimelineModel.TraceEventRecord.prototype = {
},
/**
- * @param {!RegExp} regExp
- * @return {boolean}
- */
- testContentMatching: function(regExp)
- {
- var tokens = [this.title()];
- var data = this._event.args.data;
- if (data) {
- for (var key in data)
- tokens.push(data[key]);
- }
- return regExp.test(tokens.join("|"));
- },
-
- /**
* @return {!WebInspector.TracingModel.Event}
*/
traceEvent: function()
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineView.js ('k') | Source/devtools/front_end/timeline/TracingTimelineUIUtils.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698