equal
deleted
inserted
replaced
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 |