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

Unified Diff: Source/core/layout/LayoutImageResource.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/layout/LayoutImageResource.h ('k') | Source/core/layout/LayoutImageResourceStyleImage.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/layout/LayoutImageResource.cpp
diff --git a/Source/core/layout/LayoutImageResource.cpp b/Source/core/layout/LayoutImageResource.cpp
index 85e24d61d56493228c2276e38b94076d114c9807..0061305fd6760bdb373d0f5c6447273f8bbd7f96 100644
--- a/Source/core/layout/LayoutImageResource.cpp
+++ b/Source/core/layout/LayoutImageResource.cpp
@@ -88,13 +88,6 @@ void LayoutImageResource::resetAnimation()
m_layoutObject->setShouldDoFullPaintInvalidation();
}
-void LayoutImageResource::setContainerSizeForLayoutObject(const IntSize& imageContainerSize)
-{
- ASSERT(m_layoutObject);
- if (m_cachedImage)
- m_cachedImage->setContainerSizeForLayoutObject(m_layoutObject, imageContainerSize, m_layoutObject->style()->effectiveZoom());
-}
-
LayoutSize LayoutImageResource::getImageSize(float multiplier, ImageResource::SizeType type) const
{
if (!m_cachedImage)
« no previous file with comments | « Source/core/layout/LayoutImageResource.h ('k') | Source/core/layout/LayoutImageResourceStyleImage.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698