| Index: third_party/WebKit/Source/web/tests/sim/SimTest.cpp
|
| diff --git a/third_party/WebKit/Source/web/tests/sim/SimTest.cpp b/third_party/WebKit/Source/web/tests/sim/SimTest.cpp
|
| index 95c4bdfd4bd375b6e4c0c0e0b08a283aa82c1a43..984f7a1381e47ec0b172ffec6285c901c81ac2d6 100644
|
| --- a/third_party/WebKit/Source/web/tests/sim/SimTest.cpp
|
| +++ b/third_party/WebKit/Source/web/tests/sim/SimTest.cpp
|
| @@ -7,6 +7,7 @@
|
| #include "core/dom/Document.h"
|
| #include "platform/LayoutTestSupport.h"
|
| #include "platform/scroll/ScrollbarTheme.h"
|
| +#include "public/platform/WebSecurityOrigin.h"
|
| #include "public/web/WebCache.h"
|
| #include "web/WebLocalFrameImpl.h"
|
| #include "web/WebViewImpl.h"
|
| @@ -42,6 +43,7 @@ void SimTest::loadURL(const String& url)
|
| WebURLRequest request;
|
| request.initialize();
|
| request.setURL(KURL(ParsedURLString, url));
|
| + request.setRequestorOrigin(WebSecurityOrigin::createUnique());
|
| webView().mainFrameImpl()->loadRequest(request);
|
| }
|
|
|
|
|