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

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

Issue 935283002: Rename {Author,UserAgent}ShadowRoot to {Open,Closed}ShadowRoot. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix inspector tests 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/InspectorDOMAgent.cpp ('k') | Source/core/layout/HitTestResult.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/inspector/PageConsoleAgent.cpp
diff --git a/Source/core/inspector/PageConsoleAgent.cpp b/Source/core/inspector/PageConsoleAgent.cpp
index 9f3b9908972b55724d682f630e3bce46fd9bb312..5c94b09a5484e0c05f7ee5e8763dd39210a2e43c 100644
--- a/Source/core/inspector/PageConsoleAgent.cpp
+++ b/Source/core/inspector/PageConsoleAgent.cpp
@@ -155,7 +155,7 @@ void PageConsoleAgent::addInspectedNode(ErrorString* errorString, int nodeId)
}
while (node->isInShadowTree()) {
Node& ancestor = NodeTraversal::highestAncestorOrSelf(*node);
- if (!ancestor.isShadowRoot() || toShadowRoot(ancestor).type() == ShadowRoot::AuthorShadowRoot)
+ if (!ancestor.isShadowRoot() || toShadowRoot(ancestor).type() == ShadowRoot::OpenShadowRoot)
break;
// User agent shadow root, keep climbing up.
node = toShadowRoot(ancestor).host();
« no previous file with comments | « Source/core/inspector/InspectorDOMAgent.cpp ('k') | Source/core/layout/HitTestResult.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698