webengine/osswebengine/WebCore/loader/Cache.cpp
changeset 65 5bfc169077b2
parent 37 cb62a4f66ebe
equal deleted inserted replaced
42:d39add9822e2 65:5bfc169077b2
   104 CachedResource* Cache::requestResource(DocLoader* docLoader, CachedResource::Type type, const KURL& url, const String& charset)
   104 CachedResource* Cache::requestResource(DocLoader* docLoader, CachedResource::Type type, const KURL& url, const String& charset)
   105 #endif
   105 #endif
   106 {
   106 {
   107     // FIXME: Do we really need to special-case an empty URL?
   107     // FIXME: Do we really need to special-case an empty URL?
   108     // Would it be better to just go on with the cache code and let it fail later?
   108     // Would it be better to just go on with the cache code and let it fail later?
   109     if (url.isEmpty() || url.url().lower() == "about:blank")
   109     if (url.isEmpty())
   110         return 0;
   110         return 0;
   111     
   111     
   112     // Look up the resource in our map.
   112     // Look up the resource in our map.
   113     CachedResource* resource = m_resources.get(url.url());
   113     CachedResource* resource = m_resources.get(url.url());
   114 
   114