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

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

Issue 470553002: DevTools: move TracingModel.js into the sdk module. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 4 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/TimelineFrameModel.js
diff --git a/Source/devtools/front_end/timeline/TimelineFrameModel.js b/Source/devtools/front_end/timeline/TimelineFrameModel.js
index 5701e1b85599248058cacd8f82f1ed929183a1b5..76092a8015d1950ecb6a73588033bbfa177e185c 100644
--- a/Source/devtools/front_end/timeline/TimelineFrameModel.js
+++ b/Source/devtools/front_end/timeline/TimelineFrameModel.js
@@ -461,9 +461,9 @@ WebInspector.TracingTimelineFrameModel.prototype = {
this._framePendingCommit = new WebInspector.PendingFrame();
if (!this._framePendingCommit)
return;
- if (event.name === eventNames.Paint && event.args["data"]["layerId"] && event.picture) {
+ if (event.name === eventNames.Paint && event.dataArg["layerId"] && event.picture) {
/** @type {!WebInspector.LayerPaintEvent} */
- var paintEvent = {layerId: event.args["data"]["layerId"], picture: event.picture, rect: event.layerRect, traceEvent: event};
+ var paintEvent = {layerId: event.dataArg["layerId"], picture: event.picture, rect: event.layerRect, traceEvent: event};
this._framePendingCommit.paints.push(paintEvent);
}

Powered by Google App Engine
This is Rietveld 408576698