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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutImageResource.cpp

Issue 1774943003: blink: Rename platform/ methods to prefix with get when they collide. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: clash-platform: rebase-yayyyyyyyy Created 4 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
Index: third_party/WebKit/Source/core/layout/LayoutImageResource.cpp
diff --git a/third_party/WebKit/Source/core/layout/LayoutImageResource.cpp b/third_party/WebKit/Source/core/layout/LayoutImageResource.cpp
index 2037457c0a490c306a79a6ebe58b2aab9ecdfe20..a873c99bedbc8df0b2b91fcd9652e0024a2374d2 100644
--- a/third_party/WebKit/Source/core/layout/LayoutImageResource.cpp
+++ b/third_party/WebKit/Source/core/layout/LayoutImageResource.cpp
@@ -84,7 +84,7 @@ void LayoutImageResource::resetAnimation()
if (!m_cachedImage)
return;
- m_cachedImage->image()->resetAnimation();
+ m_cachedImage->getImage()->resetAnimation();
m_layoutObject->setShouldDoFullPaintInvalidation();
}
@@ -104,11 +104,11 @@ PassRefPtr<Image> LayoutImageResource::image(const IntSize& containerSize, float
if (!m_cachedImage)
return Image::nullImage();
- if (!m_cachedImage->image()->isSVGImage())
- return m_cachedImage->image();
+ if (!m_cachedImage->getImage()->isSVGImage())
+ return m_cachedImage->getImage();
KURL url;
- SVGImage* svgImage = toSVGImage(m_cachedImage->image());
+ SVGImage* svgImage = toSVGImage(m_cachedImage->getImage());
Node* node = m_layoutObject->node();
if (node && node->isElementNode()) {
const AtomicString& urlString = toElement(node)->imageSourceURL();
@@ -119,7 +119,7 @@ PassRefPtr<Image> LayoutImageResource::image(const IntSize& containerSize, float
bool LayoutImageResource::maybeAnimated() const
{
- Image* image = m_cachedImage ? m_cachedImage->image() : Image::nullImage();
+ Image* image = m_cachedImage ? m_cachedImage->getImage() : Image::nullImage();
return image->maybeAnimated();
}
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutImage.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutInline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698