| Index: third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
|
| diff --git a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
|
| index 0c1fece45d0aa5e9223139f07af38ff4c34628df..491ecee9ad09c5d37e17e2585c13db4d9fc4fafb 100644
|
| --- a/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
|
| +++ b/third_party/WebKit/Source/devtools/front_end/timeline_model/TimelineModel.js
|
| @@ -1653,10 +1653,10 @@ WebInspector.InvalidationTracker.prototype = {
|
| var layerId = paintEvent.args["data"]["layerId"];
|
| if (layerId)
|
| this._lastPaintWithLayer = paintEvent;
|
| - if (!this._lastPaintWithLayer) {
|
| - console.error("Failed to find a paint container for a paint event.");
|
| + // Quietly discard top-level paints without layerId, as these are likely
|
| + // to come from overlay.
|
| + if (!this._lastPaintWithLayer)
|
| return;
|
| - }
|
|
|
| var effectivePaintId = this._lastPaintWithLayer.args["data"]["nodeId"];
|
| var paintFrameId = paintEvent.args["data"]["frame"];
|
|
|