+2007-12-16 Grace Kloba <klobag@gmail.com>
+
+ Reviewed by Darin Adler.
+
+ Fix http://bugs.webkit.org/show_bug.cgi?id=16433.
+ Bug 16433: LOW_BANDWIDTH_DISPLAY build is broken
+
+ * dom/Document.cpp:
+ (WebCore::Document::Document):
+ * loader/FrameLoader.cpp:
+ (WebCore::FrameLoader::addLowBandwidthDisplayRequest):
+ (WebCore::FrameLoader::switchOutLowBandwidthDisplayIfReady):
+
2007-12-16 Sam Weinig <sam@webkit.org>
Reviewed by Darin.
, m_inPageCache(false)
, m_isAllowedToLoadLocalResources(false)
, m_useSecureKeyboardEntryWhenActive(false)
+ , m_isXHTML(isXHTML)
+ , m_numNodeLists(0)
#if USE(LOW_BANDWIDTH_DISPLAY)
, m_inLowBandwidthDisplay(false)
#endif
- , m_isXHTML(isXHTML)
- , m_numNodeLists(0)
{
m_document.resetSkippingRef(this);
cache->ref(this);
return true;
case CachedResource::ImageResource:
+ case CachedResource::FontResource:
#if ENABLE(XSLT)
case CachedResource::XSLStyleSheet:
#endif
// similar to begin(), should be refactored to share more code
RefPtr<Document> newDoc = DOMImplementation::instance()->
- createDocument(m_responseMIMEType, m_frame->view(), m_frame->inViewSourceMode());
+ createDocument(m_responseMIMEType, m_frame, m_frame->inViewSourceMode());
m_frame->setDocument(newDoc);
newDoc->setURL(m_URL.url());
newDoc->setBaseURL(m_URL.url());
if (m_decoder)
newDoc->setDecoder(m_decoder.get());
restoreDocumentState();
- partClearedInBegin();
+ dispatchWindowObjectAvailable();
newDoc->implicitOpen();
// swap DocLoader ownership