summaryrefslogtreecommitdiffstats
path: root/WebCore/loader/CachedImage.h
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/loader/CachedImage.h')
-rw-r--r--WebCore/loader/CachedImage.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/WebCore/loader/CachedImage.h b/WebCore/loader/CachedImage.h
index 2aa35ac..b4a032a 100644
--- a/WebCore/loader/CachedImage.h
+++ b/WebCore/loader/CachedImage.h
@@ -25,7 +25,6 @@
#include "CachedResource.h"
#include "ImageObserver.h"
-#include "Image.h"
#include "IntRect.h"
#include "Timer.h"
#include <wtf/Vector.h>
@@ -79,7 +78,7 @@ public:
void clear();
- bool stillNeedsLoad() const { return !m_errorOccurred && m_status == Unknown && m_loading == false; }
+ bool stillNeedsLoad() const { return !errorOccurred() && status() == Unknown && !isLoading(); }
void load();
// ImageObserver