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

Unified Diff: third_party/WebKit/Source/devtools/front_end/layer_viewer/Layers3DView.js

Issue 2580453002: DevTools: Fix 'Show Paint Profiler' option on 'Layers' Tab (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/devtools/front_end/layer_viewer/Layers3DView.js
diff --git a/third_party/WebKit/Source/devtools/front_end/layer_viewer/Layers3DView.js b/third_party/WebKit/Source/devtools/front_end/layer_viewer/Layers3DView.js
index 3acc1f6e7d67caf6a93c5d36953fa02b50e6805c..8ba66daa4559ee62ce304fa8d41ac386a112e00f 100644
--- a/third_party/WebKit/Source/devtools/front_end/layer_viewer/Layers3DView.js
+++ b/third_party/WebKit/Source/devtools/front_end/layer_viewer/Layers3DView.js
@@ -697,8 +697,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);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698