2008-11-06 Antti Koivisto <antti@apple.com>
Eh, this trivial last minute change was wrong.
* loader/CachedCSSStyleSheet.cpp:
(WebCore::CachedCSSStyleSheet::sheetText):
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@38214 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/WebCore/ChangeLog b/WebCore/ChangeLog
index c8b29d4..43443ee 100644
--- a/WebCore/ChangeLog
+++ b/WebCore/ChangeLog
@@ -1,5 +1,12 @@
2008-11-06 Antti Koivisto <antti@apple.com>
+ Eh, this trivial last minute change was wrong.
+
+ * loader/CachedCSSStyleSheet.cpp:
+ (WebCore::CachedCSSStyleSheet::sheetText):
+
+2008-11-06 Antti Koivisto <antti@apple.com>
+
Reviewed by Dan Bernstein.
https://bugs.webkit.org/show_bug.cgi?id=22093
diff --git a/WebCore/loader/CachedCSSStyleSheet.cpp b/WebCore/loader/CachedCSSStyleSheet.cpp
index 3c7f335..2083fea 100644
--- a/WebCore/loader/CachedCSSStyleSheet.cpp
+++ b/WebCore/loader/CachedCSSStyleSheet.cpp
@@ -71,7 +71,7 @@
if (!m_data || m_data->isEmpty() || !canUseSheet(enforceMIMEType))
return String();
- if (!m_decodedSheetText)
+ if (!m_decodedSheetText.isNull())
return m_decodedSheetText;
// Don't cache the decoded text, regenerating is cheap and it can use quite a bit of memory