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

Unified Diff: third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp

Issue 1686483002: Oilpan: Remove most WillBe types from the code base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 a2556b1b3f233227e3379a5e836d570b641d97b7..76418c6e294bc956fdc046c5101fc87ee8adb7ce 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageChromeClient.cpp
@@ -44,9 +44,9 @@ SVGImageChromeClient::SVGImageChromeClient(SVGImage* image)
{
}
-PassOwnPtrWillBeRawPtr<SVGImageChromeClient> SVGImageChromeClient::create(SVGImage* image)
+RawPtr<SVGImageChromeClient> SVGImageChromeClient::create(SVGImage* image)
{
- return adoptPtrWillBeNoop(new SVGImageChromeClient(image));
+ return new SVGImageChromeClient(image);
}
bool SVGImageChromeClient::isSVGImageChromeClient() const
@@ -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->getImageObserver());
+ Persistent<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