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

Unified Diff: Source/web/tests/FrameTestHelpers.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/FrameTestHelpers.cpp
diff --git a/Source/web/tests/FrameTestHelpers.cpp b/Source/web/tests/FrameTestHelpers.cpp
index 01591b7d1c77b58be68670fe5698b5c26e26b0de..7d61fc9865ebb0c2c9de8eb7bf4578f04c2b8535 100644
--- a/Source/web/tests/FrameTestHelpers.cpp
+++ b/Source/web/tests/FrameTestHelpers.cpp
@@ -282,9 +282,9 @@ TestWebFrameClient::TestWebFrameClient() : m_loadsInProgress(0)
{
}
-WebFrame* TestWebFrameClient::createChildFrame(WebLocalFrame* parent, const WebString& frameName, WebSandboxFlags sandboxFlags)
+WebFrame* TestWebFrameClient::createChildFrame(WebLocalFrame* parent, WebTreeScopeType scope, const WebString& frameName, WebSandboxFlags sandboxFlags)
{
- WebFrame* frame = WebLocalFrame::create(this);
+ WebFrame* frame = WebLocalFrame::create(scope, this);
parent->appendChild(frame);
return frame;
}
@@ -323,7 +323,7 @@ void TestWebFrameClient::waitForLoadToComplete()
}
TestWebRemoteFrameClient::TestWebRemoteFrameClient()
- : m_frame(WebRemoteFrame::create(this))
+ : m_frame(WebRemoteFrame::create(WebTreeScopeType::Document, this))
{
}

Powered by Google App Engine
This is Rietveld 408576698