| Index: Source/WebCore/loader/PingLoader.cpp
|
| diff --git a/Source/WebCore/loader/PingLoader.cpp b/Source/WebCore/loader/PingLoader.cpp
|
| index 1cc2208ce5838fc52c500470f2486088d02a1ebe..2849626fd3fa2687d40c6cc0c7f1dd7a8d19c0bc 100644
|
| --- a/Source/WebCore/loader/PingLoader.cpp
|
| +++ b/Source/WebCore/loader/PingLoader.cpp
|
| @@ -59,7 +59,7 @@ void PingLoader::loadImage(Frame* frame, const KURL& url)
|
| }
|
|
|
| ResourceRequest request(url);
|
| -#if PLATFORM(CHROMIUM) || PLATFORM(BLACKBERRY)
|
| +#if PLATFORM(CHROMIUM)
|
| request.setTargetType(ResourceRequest::TargetIsImage);
|
| #endif
|
| request.setHTTPHeaderField("Cache-Control", "max-age=0");
|
| @@ -78,7 +78,7 @@ void PingLoader::loadImage(Frame* frame, const KURL& url)
|
| void PingLoader::sendPing(Frame* frame, const KURL& pingURL, const KURL& destinationURL)
|
| {
|
| ResourceRequest request(pingURL);
|
| -#if PLATFORM(CHROMIUM) || PLATFORM(BLACKBERRY)
|
| +#if PLATFORM(CHROMIUM)
|
| request.setTargetType(ResourceRequest::TargetIsSubresource);
|
| #endif
|
| request.setHTTPMethod("POST");
|
| @@ -109,7 +109,7 @@ void PingLoader::sendPing(Frame* frame, const KURL& pingURL, const KURL& destina
|
| void PingLoader::sendViolationReport(Frame* frame, const KURL& reportURL, PassRefPtr<FormData> report)
|
| {
|
| ResourceRequest request(reportURL);
|
| -#if PLATFORM(CHROMIUM) || PLATFORM(BLACKBERRY)
|
| +#if PLATFORM(CHROMIUM)
|
| request.setTargetType(ResourceRequest::TargetIsSubresource);
|
| #endif
|
| request.setHTTPMethod("POST");
|
|
|