Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1769)

Unified Diff: Source/core/style/StyleFetchedImage.cpp

Issue 1339183003: NOT FOR LANDING Experiment with allocating SVGImageForContainer on demand (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/style/StyleFetchedImage.h ('k') | Source/core/style/StyleFetchedImageSet.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/style/StyleFetchedImage.cpp
diff --git a/Source/core/style/StyleFetchedImage.cpp b/Source/core/style/StyleFetchedImage.cpp
index 5f3d9d007bae15292386c4ff5aa78bf896b5b7ec..a441ab0c69f703c8e75bf0e9da376e8ab31cf238 100644
--- a/Source/core/style/StyleFetchedImage.cpp
+++ b/Source/core/style/StyleFetchedImage.cpp
@@ -31,9 +31,10 @@
namespace blink {
-StyleFetchedImage::StyleFetchedImage(ImageResource* image, Document* document)
+StyleFetchedImage::StyleFetchedImage(ImageResource* image, Document* document, const KURL& urlWithFragment)
: m_image(image)
, m_document(document)
+ , m_urlWithFragment(urlWithFragment)
{
m_isImageResource = true;
m_image->addClient(this);
@@ -89,11 +90,6 @@ bool StyleFetchedImage::usesImageContainerSize() const
return m_image->usesImageContainerSize();
}
-void StyleFetchedImage::setContainerSizeForLayoutObject(const LayoutObject* layoutObject, const IntSize& imageContainerSize, float imageContainerZoomFactor)
-{
- m_image->setContainerSizeForLayoutObject(layoutObject, imageContainerSize, imageContainerZoomFactor);
-}
-
void StyleFetchedImage::addClient(LayoutObject* layoutObject)
{
m_image->addClient(layoutObject);
« no previous file with comments | « Source/core/style/StyleFetchedImage.h ('k') | Source/core/style/StyleFetchedImageSet.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698