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

Unified Diff: Source/web/tests/ChromeClientImplTest.cpp

Issue 1141553006: Update Blink to use the tree scope info on WebFrame for scoping checks. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase 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: Source/web/tests/ChromeClientImplTest.cpp
diff --git a/Source/web/tests/ChromeClientImplTest.cpp b/Source/web/tests/ChromeClientImplTest.cpp
index 28a15957a876079dc27533c9b2f0a1d7bc80815c..8457f0623cde3bfba64a5d7b86d304c9efde5e3b 100644
--- a/Source/web/tests/ChromeClientImplTest.cpp
+++ b/Source/web/tests/ChromeClientImplTest.cpp
@@ -85,7 +85,7 @@ protected:
virtual void SetUp()
{
m_webView = toWebViewImpl(WebView::create(&m_webViewClient));
- m_mainFrame = WebLocalFrame::create(&m_webFrameClient);
+ m_mainFrame = WebLocalFrame::create(WebTreeScopeType::Document, &m_webFrameClient);
m_webView->setMainFrame(m_mainFrame);
m_chromeClientImpl = toChromeClientImpl(&m_webView->page()->chrome().client());
m_result = WebNavigationPolicyIgnore;

Powered by Google App Engine
This is Rietveld 408576698