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

Unified Diff: Source/WebCore/svg/graphics/SVGImageCache.cpp

Issue 13008026: Merge 146227 "Separate SVG image size and container size" (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1410/
Patch Set: Created 7 years, 9 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/WebCore/svg/graphics/SVGImage.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/svg/graphics/SVGImageCache.cpp
===================================================================
--- Source/WebCore/svg/graphics/SVGImageCache.cpp (revision 146634)
+++ Source/WebCore/svg/graphics/SVGImageCache.cpp (working copy)
@@ -74,9 +74,9 @@
if (it == m_imageForContainerMap.end())
return imageSize;
- RefPtr<SVGImageForContainer> image = it->value;
- ASSERT(!image->size().isEmpty());
- return image->size();
+ RefPtr<SVGImageForContainer> imageForContainer = it->value;
+ ASSERT(!imageForContainer->size().isEmpty());
+ return imageForContainer->size();
}
// FIXME: This doesn't take into account the animation timeline so animations will not
@@ -90,9 +90,9 @@
if (it == m_imageForContainerMap.end())
return Image::nullImage();
- RefPtr<SVGImageForContainer> image = it->value;
- ASSERT(!image->size().isEmpty());
- return image.get();
+ RefPtr<SVGImageForContainer> imageForContainer = it->value;
+ ASSERT(!imageForContainer->size().isEmpty());
+ return imageForContainer.get();
}
} // namespace WebCore
« no previous file with comments | « Source/WebCore/svg/graphics/SVGImage.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698