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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.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/svg/graphics/SVGImageChromeClient.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp
index eea5b0336ed59369875e7e125284d383ddec3a81..a2556b1b3f233227e3379a5e836d570b641d97b7 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp
@@ -62,8 +62,8 @@ void SVGImageChromeClient::chromeDestroyed()
void SVGImageChromeClient::invalidateRect(const IntRect& r)
{
// If m_image->m_page is null, we're being destructed, don't fire changedInRect() in that case.
- if (m_image && m_image->imageObserver() && m_image->m_page)
- m_image->imageObserver()->changedInRect(m_image, r);
+ if (m_image && m_image->getImageObserver() && m_image->m_page)
+ m_image->getImageObserver()->changedInRect(m_image, r);
}
void SVGImageChromeClient::scheduleAnimation(Widget*)
@@ -95,7 +95,7 @@ void SVGImageChromeClient::animationTimerFired(Timer<SVGImageChromeClient>*)
//
// TODO(Oilpan): move (SVG)Image to the Oilpan heap, and avoid
// this explicit lifetime check.
- if (Heap::willObjectBeLazilySwept(m_image->imageObserver()))
+ if (Heap::willObjectBeLazilySwept(m_image->getImageObserver()))
return;
#endif
@@ -106,7 +106,7 @@ void SVGImageChromeClient::animationTimerFired(Timer<SVGImageChromeClient>*)
// The calls below may trigger GCs, so set up the required persistent
// reference on the ImageResource which owns this SVGImage. By transitivity,
// that will keep this SVGImageChromeClient object alive.
- RawPtrWillBePersistent<ImageObserver> protect(m_image->imageObserver());
+ RawPtrWillBePersistent<ImageObserver> protect(m_image->getImageObserver());
m_image->frameView()->page()->animator().serviceScriptedAnimations(monotonicallyIncreasingTime());
m_image->frameView()->updateAllLifecyclePhases();
}

Powered by Google App Engine
This is Rietveld 408576698