webengine/osswebengine/WebCore/css/CSSImageValue.cpp
changeset 13 10e98eab6f85
parent 0 dd21522fd290
equal deleted inserted replaced
8:7c90e6132015 13:10e98eab6f85
    57 
    57 
    58         if (loader)
    58         if (loader)
    59             m_image = loader->requestImage(getStringValue());
    59             m_image = loader->requestImage(getStringValue());
    60         else
    60         else
    61             // FIXME: Should find a way to make these images sit in their own memory partition, since they are user agent images.
    61             // FIXME: Should find a way to make these images sit in their own memory partition, since they are user agent images.
    62             m_image = static_cast<CachedImage*>(cache()->requestResource(0, CachedResource::ImageResource, KURL(getStringValue().deprecatedString()), 0, 0));
    62             m_image = static_cast<CachedImage*>(cache()->requestResource(0, CachedResource::ImageResource, KURL(getStringValue().deprecatedString()), String()));
    63 
    63 
    64         if (m_image)
    64         if (m_image)
    65             m_image->ref(this);
    65             m_image->ref(this);
    66     }
    66     }
    67     
    67