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

Unified Diff: headless/public/util/dom_tree_extractor.cc

Issue 2495623002: Rename traverseFrames to pierce and traverse shadow dom too. (Closed)
Patch Set: Rename traverseFrames to pierce. Created 4 years, 1 month 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 | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-request-child-nodes-traverse-frames.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: headless/public/util/dom_tree_extractor.cc
diff --git a/headless/public/util/dom_tree_extractor.cc b/headless/public/util/dom_tree_extractor.cc
index 8b43162cc9a89f008cc773627e3d1b98d0069376..6e4154c44e4f56fca2cdac51f79b6a77f747728d 100644
--- a/headless/public/util/dom_tree_extractor.cc
+++ b/headless/public/util/dom_tree_extractor.cc
@@ -26,10 +26,7 @@ void DomTreeExtractor::ExtractDomTree(
callback_ = std::move(callback);
devtools_client_->GetDOM()->GetDocument(
- dom::GetDocumentParams::Builder()
- .SetDepth(-1)
- .SetTraverseFrames(true)
- .Build(),
+ dom::GetDocumentParams::Builder().SetDepth(-1).SetPierce(true).Build(),
base::Bind(&DomTreeExtractor::OnDocumentFetched,
weak_factory_.GetWeakPtr()));
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/inspector-protocol/dom/dom-request-child-nodes-traverse-frames.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698