| Index: webkit/glue/resource_fetcher.cc
|
| diff --git a/webkit/glue/resource_fetcher.cc b/webkit/glue/resource_fetcher.cc
|
| index f0c8771739907ce4f38bda565ee833f98b21b9ca..ac8882497d683dd6cf2c16b632bbca44bb38435b 100644
|
| --- a/webkit/glue/resource_fetcher.cc
|
| +++ b/webkit/glue/resource_fetcher.cc
|
| @@ -5,6 +5,7 @@
|
| #include "webkit/glue/resource_fetcher.h"
|
|
|
| #include "base/logging.h"
|
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebDocument.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebFrame.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebKit.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebKitPlatformSupport.h"
|
| @@ -50,6 +51,7 @@ void ResourceFetcher::Cancel() {
|
| void ResourceFetcher::Start(WebFrame* frame) {
|
| WebURLRequest request(url_);
|
| request.setTargetType(target_type_);
|
| + request.setFirstPartyForCookies(frame->document().firstPartyForCookies());
|
| frame->dispatchWillSendRequest(request);
|
|
|
| loader_.reset(WebKit::webKitPlatformSupport()->createURLLoader());
|
|
|