WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
[patch]
Make LOW_BANDWIDTH_DISPLAY compile
double.txt (text/plain), 2.37 KB, created by
Grace Kloba
on 2007-12-15 20:14:51 PST
(
hide
)
Description:
Make LOW_BANDWIDTH_DISPLAY compile
Filename:
MIME Type:
Creator:
Grace Kloba
Created:
2007-12-15 20:14:51 PST
Size:
2.37 KB
patch
obsolete
>Index: WebCore/dom/Document.cpp >=================================================================== >--- WebCore/dom/Document.cpp (revision 27453) >+++ WebCore/dom/Document.cpp (working copy) >@@ -280,11 +280,11 @@ Document::Document(DOMImplementation* im > , 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); > >Index: WebCore/loader/FrameLoader.cpp >=================================================================== >--- WebCore/loader/FrameLoader.cpp (revision 27453) >+++ WebCore/loader/FrameLoader.cpp (working copy) >@@ -4690,6 +4690,7 @@ bool FrameLoader::addLowBandwidthDisplay > cache->ref(this); > return true; > case CachedResource::ImageResource: >+ case CachedResource::FontResource: > #if ENABLE(XSLT) > case CachedResource::XSLStyleSheet: > #endif >@@ -4747,14 +4748,14 @@ void FrameLoader::switchOutLowBandwidthD > > // 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 >Index: WebCore/loader/FrameLoader.h >=================================================================== >--- WebCore/loader/FrameLoader.h (revision 27453) >+++ WebCore/loader/FrameLoader.h (working copy) >@@ -129,8 +129,11 @@ namespace WebCore { > { > public: > FrameLoader(Frame*, FrameLoaderClient*); >+#if USE(LOW_BANDWIDTH_DISPLAY) >+ virtual ~FrameLoader(); >+#else > ~FrameLoader(); >- >+#endif > void init(); > > Frame* frame() const { return m_frame; }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
darin
:
review-
Actions:
View
|
Formatted Diff
|
Diff
Attachments on
bug 16433
:
17923
|
17941