Commit 89d458f2 authored by ahmetemiremir's avatar ahmetemiremir Committed by Commit bot

DevTools: Fix 'Show Paint Profiler' option on 'Layers' Tab

BUG=674049

Review-Url: https://codereview.chromium.org/2580453002
Cr-Commit-Position: refs/heads/master@{#438784}
parent bae36564
......@@ -696,8 +696,7 @@ LayerViewer.Layers3DView = class extends UI.VBox {
if (selection && selection.type() === LayerViewer.LayerView.Selection.Type.Snapshot) {
contextMenu.appendItem(
Common.UIString('Show Paint Profiler'),
this.dispatchEventToListeners.bind(
this, LayerViewer.Layers3DView.Events.PaintProfilerRequested, selection.snapshot()),
this.dispatchEventToListeners.bind(this, LayerViewer.Layers3DView.Events.PaintProfilerRequested, selection),
false);
}
this._layerViewHost.showContextMenu(contextMenu, selection);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment