Commit 47be55f0 authored by beidson@apple.com's avatar beidson@apple.com

2009-04-29 Brady Eidson <beidson@apple.com>

        Reviewed by Darin Adler

        <rdar://problem/6573742> - Problem dragging standalone images from Safari to Mail

        Roll out trac.webkit.org/changeset/35867 which fixed <rdar://problem/6153432>

        Cloned <rdar://problem/6153432> to <rdar://problem/6839881> to find a better fix for that Tiger Mail bug.

        * loader/DocumentLoader.cpp:
        (WebCore::DocumentLoader::subresource): Remove the preload referenced check.



git-svn-id: svn://svn.chromium.org/blink/trunk@43003 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent 265ffdc5
2009-04-29 Brady Eidson <beidson@apple.com>
Reviewed by Darin Adler
<rdar://problem/6573742> - Problem dragging standalone images from Safari to Mail
Roll out trac.webkit.org/changeset/35867 which fixed <rdar://problem/6153432>
Cloned <rdar://problem/6153432> to <rdar://problem/6839881> to find a better fix for that Tiger Mail bug.
* loader/DocumentLoader.cpp:
(WebCore::DocumentLoader::subresource): Remove the preload referenced check.
2009-04-29 Alpha Lam <hclam@chromium.org> 2009-04-29 Alpha Lam <hclam@chromium.org>
Reviewed by Dimitri Glazkov. Reviewed by Dimitri Glazkov.
...@@ -554,11 +554,11 @@ PassRefPtr<ArchiveResource> DocumentLoader::subresource(const KURL& url) const ...@@ -554,11 +554,11 @@ PassRefPtr<ArchiveResource> DocumentLoader::subresource(const KURL& url) const
return 0; return 0;
CachedResource* resource = m_frame->document()->docLoader()->cachedResource(url); CachedResource* resource = m_frame->document()->docLoader()->cachedResource(url);
if (!resource || resource->preloadResult() == CachedResource::PreloadReferenced) if (!resource)
return archiveResourceForURL(url); return archiveResourceForURL(url);
// FIXME: This has the side effect of making the resource non-purgeable. // FIXME: This has the side effect of making the resource non-purgeable.
// It would be better if it didn't have this permanent affect. // It would be better if it didn't have this permanent effect.
if (!resource->makePurgeable(false)) if (!resource->makePurgeable(false))
return 0; return 0;
......
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