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

Unified Diff: Source/WebCore/loader/cache/CachedResource.cpp

Issue 13687007: Remove PLATFORM(BLACKBERRY) support. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 8 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
« no previous file with comments | « Source/WebCore/loader/PingLoader.cpp ('k') | Source/WebCore/loader/icon/IconLoader.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/loader/cache/CachedResource.cpp
diff --git a/Source/WebCore/loader/cache/CachedResource.cpp b/Source/WebCore/loader/cache/CachedResource.cpp
index 401a931a35064ac47f430e3bd0185901f62005ee..37b54e30a3fa6b700393958aa6780fe3ce3716d6 100644
--- a/Source/WebCore/loader/cache/CachedResource.cpp
+++ b/Source/WebCore/loader/cache/CachedResource.cpp
@@ -149,7 +149,7 @@ static ResourceLoadPriority defaultPriorityForResourceType(CachedResource::Type
return ResourceLoadPriorityLow;
}
-#if PLATFORM(CHROMIUM) || PLATFORM(BLACKBERRY)
eseidel 2013/04/06 01:36:47 We can remove these whole defines now, but we can
eae 2013/04/06 01:59:05 I'd rather do the PLATFORM(CHROMIUM) work in a sep
+#if PLATFORM(CHROMIUM)
static ResourceRequest::TargetType cachedResourceTypeToTargetType(CachedResource::Type type)
{
switch (type) {
@@ -308,7 +308,7 @@ void CachedResource::load(CachedResourceLoader* cachedResourceLoader, const Reso
m_options = options;
m_loading = true;
-#if PLATFORM(CHROMIUM) || PLATFORM(BLACKBERRY)
+#if PLATFORM(CHROMIUM)
if (m_resourceRequest.targetType() == ResourceRequest::TargetIsUnspecified)
m_resourceRequest.setTargetType(cachedResourceTypeToTargetType(type()));
#endif
« no previous file with comments | « Source/WebCore/loader/PingLoader.cpp ('k') | Source/WebCore/loader/icon/IconLoader.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698