Index: sky/framework/inspector/dom-agent.sky |
diff --git a/sky/framework/inspector/dom-agent.sky b/sky/framework/inspector/dom-agent.sky |
index f3bc58ee03c92738ebf509b14aa12c81d033878e..91b6a3ecd39140903c546b6babe9c4560ec2fa68 100644 |
--- a/sky/framework/inspector/dom-agent.sky |
+++ b/sky/framework/inspector/dom-agent.sky |
@@ -16,6 +16,10 @@ DOMAgent.prototype.getIdForNode_ = function(node) { |
return id; |
}; |
+DOMAgent.prototype.getNodeForId = function(nodeId) { |
+ return this.idToNode_.get(nodeId); |
+}; |
+ |
DOMAgent.prototype.serializeChildren_ = function(node) { |
var children = []; |
for (var child = node.firstChild; child; child = child.nextSibling) { |