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

Unified Diff: LayoutTests/inspector/elements/styles/pseudo-elements.html

Issue 177653004: DevTools: Get rid of redundant default selection during inspectElement (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on master Created 6 years, 10 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: LayoutTests/inspector/elements/styles/pseudo-elements.html
diff --git a/LayoutTests/inspector/elements/styles/pseudo-elements.html b/LayoutTests/inspector/elements/styles/pseudo-elements.html
index 8264728cd39a1ef2c03284dceb5e16244c53b48e..3a941c1c8e8009f4179a86978d27bb3ff69456b3 100644
--- a/LayoutTests/inspector/elements/styles/pseudo-elements.html
+++ b/LayoutTests/inspector/elements/styles/pseudo-elements.html
@@ -29,8 +29,7 @@ InspectorTest.selectIdNodeWithId = function(idValue, pseudoType, callback)
callback = InspectorTest.safeWrap(callback);
function onNodeFound(node)
{
- if (node)
- WebInspector._updateFocusedNode(node.id);
+ WebInspector.Revealer.reveal(node);
callback(node);
}

Powered by Google App Engine
This is Rietveld 408576698