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

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

Issue 671913006: DevTools: Fix frontend compilation errors uncovered by r184188 (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/devtools/front_end/main/AdvancedApp.js ('k') | Source/devtools/front_end/toolbox/ToolboxDelegate.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 461ab7d5c5ba332ecfc2f0bff67c2b01baa068a1..0b1aec3ad08cef9a38df3ef94c56db4db12bf11a 100644
--- a/Source/devtools/front_end/timeline/TracingTimelineModel.js
+++ b/Source/devtools/front_end/timeline/TracingTimelineModel.js
@@ -1217,6 +1217,10 @@ WebInspector.InvalidationTracker.prototype = {
var frameId = paintEvent.args["data"]["frame"];
this._invalidationEvents.forEach(recordInvalidationForPaint.bind(this));
+ /**
+ * @param {!WebInspector.InvalidationTrackingEvent} invalidation
+ * @this {WebInspector.InvalidationTracker}
+ */
function recordInvalidationForPaint(invalidation)
{
if (invalidation.paintId === effectivePaintId && invalidation.frameId === frameId)
@@ -1246,6 +1250,7 @@ WebInspector.InvalidationTracker.prototype = {
_initializePerFrameState: function()
{
+ /** @type {!Array.<!WebInspector.InvalidationTrackingEvent>} */
this._invalidationEvents = [];
this._lastStyleRecalcEventIndex = 0;
this._lastPaintWithLayer = undefined;
« no previous file with comments | « Source/devtools/front_end/main/AdvancedApp.js ('k') | Source/devtools/front_end/toolbox/ToolboxDelegate.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698