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

Unified Diff: Source/devtools/front_end/main/Main.js

Issue 391083003: DevTools: remove Node.reveal() and RemoteOject.reveal() (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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
Index: Source/devtools/front_end/main/Main.js
diff --git a/Source/devtools/front_end/main/Main.js b/Source/devtools/front_end/main/Main.js
index 1b776acb213c7dfabba7b01e516e67084c81639b..ef283c4a8394978ec71e7c422f9b3dcfc4061c0d 100644
--- a/Source/devtools/front_end/main/Main.js
+++ b/Source/devtools/front_end/main/Main.js
@@ -563,7 +563,7 @@ WebInspector.Main.prototype = {
function callback(node)
{
elementsPanel.stopOmittingDefaultSelection();
- node.reveal();
+ WebInspector.Revealer.reveal(node);
if (!WebInspector.inspectorView.drawerVisible() && !WebInspector._notFirstInspectElement)
InspectorFrontendHost.inspectElementCompleted();
WebInspector._notFirstInspectElement = true;
« no previous file with comments | « Source/devtools/front_end/elements/ElementsPanel.js ('k') | Source/devtools/front_end/network/NetworkPanel.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698