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

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

Issue 310313003: Introduce TracingTimelineModel (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/TimelineModel.js
diff --git a/Source/devtools/front_end/timeline/TimelineModel.js b/Source/devtools/front_end/timeline/TimelineModel.js
index f987ad58ee8ce048c5ca923fd046d6da5c854896..f913ee67db964d32260343be6cb8cdccd43f0847 100644
--- a/Source/devtools/front_end/timeline/TimelineModel.js
+++ b/Source/devtools/front_end/timeline/TimelineModel.js
@@ -850,11 +850,11 @@ WebInspector.TimelineModel.TraceEventRecord.prototype = {
frameId: function()
{
switch (this._event.name) {
- case WebInspector.TimelineTraceEventBindings.RecordType.ScheduleStyleRecalculation:
- case WebInspector.TimelineTraceEventBindings.RecordType.RecalculateStyles:
- case WebInspector.TimelineTraceEventBindings.RecordType.InvalidateLayout:
+ case WebInspector.TracingTimelineModel.RecordType.ScheduleStyleRecalculation:
+ case WebInspector.TracingTimelineModel.RecordType.RecalculateStyles:
+ case WebInspector.TracingTimelineModel.RecordType.InvalidateLayout:
return this._event.args["frameId"];
- case WebInspector.TimelineTraceEventBindings.RecordType.Layout:
+ case WebInspector.TracingTimelineModel.RecordType.Layout:
return this._event.args["beginData"]["frameId"];
default:
var data = this._event.args.data;
« no previous file with comments | « Source/devtools/front_end/timeline/TimelineFrameModel.js ('k') | Source/devtools/front_end/timeline/TimelinePanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698