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

Unified Diff: Source/core/inspector/InjectedScript.cpp

Issue 964493002: DevTools: improve TTIE, do not select body before the target element upon inspect element. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: headless test fixed Created 5 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
« no previous file with comments | « Source/core/inspector/InjectedScript.h ('k') | Source/core/inspector/InjectedScriptSource.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/InjectedScript.cpp
diff --git a/Source/core/inspector/InjectedScript.cpp b/Source/core/inspector/InjectedScript.cpp
index c6665defb0321f34c0307b61d50999c4e5009d4a..087fd497180de0ed87ffe22f8e75f0ee4fe63810 100644
--- a/Source/core/inspector/InjectedScript.cpp
+++ b/Source/core/inspector/InjectedScript.cpp
@@ -336,15 +336,6 @@ ScriptValue InjectedScript::findObjectById(const String& objectId) const
return resultValue;
}
-void InjectedScript::inspectNode(Node* node)
-{
- ASSERT(!isEmpty());
- ScriptFunctionCall function(injectedScriptObject(), "inspectNode");
- function.appendArgument(nodeAsScriptValue(node));
- RefPtr<JSONValue> result;
- makeCall(function, &result);
-}
-
void InjectedScript::releaseObjectGroup(const String& objectGroup)
{
ASSERT(!isEmpty());
« no previous file with comments | « Source/core/inspector/InjectedScript.h ('k') | Source/core/inspector/InjectedScriptSource.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698