summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--WebCore/loader/CachedResource.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/WebCore/loader/CachedResource.h b/WebCore/loader/CachedResource.h
index d5bb97e..909e6d1 100644
--- a/WebCore/loader/CachedResource.h
+++ b/WebCore/loader/CachedResource.h
@@ -126,7 +126,7 @@ public:
virtual bool isImage() const { return false; }
#if ENABLE(LINK_PREFETCH)
- virtual bool isPrefetch() const { return type() != LinkPrefetch; }
+ virtual bool isPrefetch() const { return type() == LinkPrefetch; }
#else
virtual bool isPrefetch() const { return false; }
#endif