diff options
| -rw-r--r-- | WebCore/loader/SubresourceLoader.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/WebCore/loader/SubresourceLoader.cpp b/WebCore/loader/SubresourceLoader.cpp index f92a074..ebb943a 100644 --- a/WebCore/loader/SubresourceLoader.cpp +++ b/WebCore/loader/SubresourceLoader.cpp @@ -81,7 +81,11 @@ PassRefPtr<SubresourceLoader> SubresourceLoader::create(Frame* frame, Subresourc if (SecurityOrigin::shouldHideReferrer(request.url(), fl->outgoingReferrer())) newRequest.clearHTTPReferrer(); +#ifdef ANDROID_FIX + else if (request.httpReferrer().isEmpty()) +#else else if (!request.httpReferrer()) +#endif newRequest.setHTTPReferrer(fl->outgoingReferrer()); FrameLoader::addHTTPOriginIfNeeded(newRequest, fl->outgoingOrigin()); |
