Commit 86017599 authored by andersca's avatar andersca

Reviewed by Darin.

        Fix crash on platforms that don't use the new loader yet.
        
        * loader/DocLoader.cpp:
        (WebCore::DocLoader::requestResource):



git-svn-id: svn://svn.chromium.org/blink/trunk@18780 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent bda23728
2007-01-11 Anders Carlsson <acarlsson@apple.com>
Reviewed by Darin.
Fix crash on platforms that don't use the new loader yet.
* loader/DocLoader.cpp:
(WebCore::DocLoader::requestResource):
2007-01-11 Mitz Pettel <mitz@webkit.org> 2007-01-11 Mitz Pettel <mitz@webkit.org>
Reviewed by Adam. Reviewed by Adam.
......
...@@ -121,8 +121,10 @@ CachedResource* DocLoader::requestResource(CachedResource::Type type, const Stri ...@@ -121,8 +121,10 @@ CachedResource* DocLoader::requestResource(CachedResource::Type type, const Stri
{ {
KURL fullURL = m_doc->completeURL(url.deprecatedString()); KURL fullURL = m_doc->completeURL(url.deprecatedString());
#if PLATFORM(MAC) || PLATFORM(QT)
if (m_frame && m_frame->loader()->isReloading()) if (m_frame && m_frame->loader()->isReloading())
setCachePolicy(CachePolicyReload); setCachePolicy(CachePolicyReload);
#endif
checkForReload(fullURL); checkForReload(fullURL);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment