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

Unified Diff: components/html_viewer/ax_provider_impl_unittest.cc

Issue 1141283002: Replicate whether a frame is in a document or shadow tree. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix typo Created 5 years, 7 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: components/html_viewer/ax_provider_impl_unittest.cc
diff --git a/components/html_viewer/ax_provider_impl_unittest.cc b/components/html_viewer/ax_provider_impl_unittest.cc
index 8a0d2a687bfa734de515855140b9a3ffb8798edc..654951dea59617634d017ed5ea616e6c9b3dd6d4 100644
--- a/components/html_viewer/ax_provider_impl_unittest.cc
+++ b/components/html_viewer/ax_provider_impl_unittest.cc
@@ -103,7 +103,8 @@ TEST_F(AxProviderImplTest, MAYBE_Basic) {
TestWebViewClient web_view_client;
TestWebFrameClient web_frame_client;
WebView* view = WebView::create(&web_view_client);
- view->setMainFrame(WebLocalFrame::create(&web_frame_client));
+ view->setMainFrame(WebLocalFrame::create(blink::WebTreeScopeType::Document,
+ &web_frame_client));
view->mainFrame()->loadHTMLString(
WebData(
"<html><body>foo<a "
« no previous file with comments | « no previous file | components/html_viewer/html_document.h » ('j') | components/printing/renderer/print_web_view_helper.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698