| Index: Source/devtools/front_end/timeline/LayerDetailsView.js
|
| diff --git a/Source/devtools/front_end/timeline/LayerDetailsView.js b/Source/devtools/front_end/timeline/LayerDetailsView.js
|
| index 8c8fe1272c0b541d992b7daf6619033253d5260e..05c613dacc56ca37f11843e22ab4e4533ff5a65d 100644
|
| --- a/Source/devtools/front_end/timeline/LayerDetailsView.js
|
| +++ b/Source/devtools/front_end/timeline/LayerDetailsView.js
|
| @@ -88,12 +88,12 @@ WebInspector.LayerDetailsView.CompositingReasonDetail = {
|
|
|
| WebInspector.LayerDetailsView.prototype = {
|
| /**
|
| - * @param {?WebInspector.Layers3DView.ActiveObject} activeObject
|
| + * @param {?WebInspector.Layers3DView.Selection} selection
|
| */
|
| - setObject: function(activeObject)
|
| + setObject: function(selection)
|
| {
|
| - this._layer = activeObject ? activeObject.layer : null;
|
| - this._scrollRectIndex = activeObject ? activeObject.scrollRectIndex : null;
|
| + this._layer = selection ? selection.layer : null;
|
| + this._scrollRectIndex = selection ? selection.scrollRectIndex : null;
|
| if (this.isShowing())
|
| this.update();
|
| },
|
| @@ -112,7 +112,7 @@ WebInspector.LayerDetailsView.prototype = {
|
| {
|
| if (event.which !== 1)
|
| return;
|
| - this.dispatchEventToListeners(WebInspector.LayerDetailsView.Events.ObjectSelected, {layer: this._layer, scrollRectIndex: index});
|
| + this.dispatchEventToListeners(WebInspector.LayerDetailsView.Events.ObjectSelected, new WebInspector.Layers3DView.ScrollRectSelection(this._layer, index));
|
| },
|
|
|
| /**
|
|
|