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

Unified Diff: Source/devtools/front_end/timeline/TimelineModelImpl.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/TimelineModelImpl.js
diff --git a/Source/devtools/front_end/timeline/TimelineModelImpl.js b/Source/devtools/front_end/timeline/TimelineModelImpl.js
index 083a1708511adaafc49752c02e8a009cfd5f6f53..a18efee606302935123309b50df41f550fc3e3e2 100644
--- a/Source/devtools/front_end/timeline/TimelineModelImpl.js
+++ b/Source/devtools/front_end/timeline/TimelineModelImpl.js
@@ -424,14 +424,6 @@ WebInspector.TimelineModel.RecordImpl.prototype = {
},
/**
- * @return {string}
- */
- title: function()
- {
- return WebInspector.TimelineUIUtils.recordTitle(this, this._model);
- },
-
- /**
* @return {number}
*/
startTime: function()
@@ -555,19 +547,7 @@ WebInspector.TimelineModel.RecordImpl.prototype = {
warnings: function()
{
return this._warnings;
- },
-
- /**
- * @param {!RegExp} regExp
- * @return {boolean}
- */
- testContentMatching: function(regExp)
- {
- var tokens = [this.title()];
- for (var key in this._record.data)
- tokens.push(this._record.data[key])
- return regExp.test(tokens.join("|"));
- }
+ }
}
/**
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineModel.js ('k') | Source/devtools/front_end/timeline/TimelinePanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698