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

Unified Diff: Source/devtools/front_end/Layers3DView.js

Issue 206123005: Use simple CSS selectors to identify elements in Layer's panel tree view (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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/LayerTree.js ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/devtools/front_end/Layers3DView.js
diff --git a/Source/devtools/front_end/Layers3DView.js b/Source/devtools/front_end/Layers3DView.js
index cc97db20d038502f213d78cab5ea282de0ec6827..a6c0504903fb87cb8f2b61fbeb58f57db451d4f3 100644
--- a/Source/devtools/front_end/Layers3DView.js
+++ b/Source/devtools/front_end/Layers3DView.js
@@ -380,7 +380,7 @@ WebInspector.Layers3DView.prototype = {
_onContextMenu: function(event)
{
var layer = this._layerFromEventPoint(event);
- var nodeId = layer && layer.nodeId();
+ var nodeId = layer && layer.nodeIdForSelfOrAncestor();
if (!nodeId)
return;
var domNode = WebInspector.domAgent.nodeForId(nodeId);
« no previous file with comments | « Source/devtools/front_end/LayerTree.js ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698