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

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

Issue 2469873002: [ImageResource 4] Split ImageResource into Resource and Image parts (Closed)
Patch Set: style Created 4 years 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/SVGImage.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
index 768f1011e1184aa1fe8803655dc018b80a642b57..c80b14dd6ec9da96ca8302922f7402aa3ebf40c6 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp
@@ -490,8 +490,9 @@ void SVGImage::serviceAnimations(double monotonicAnimationStartTime) {
ScriptForbiddenScope forbidScript;
// 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 the associated SVGImageChromeClient object alive.
+ // reference on the ImageResourceContent which owns this SVGImage. By
+ // transitivity, that will keep the associated SVGImageChromeClient object
+ // alive.
Persistent<ImageObserver> protect(getImageObserver());
m_page->animator().serviceScriptedAnimations(monotonicAnimationStartTime);
// Do *not* update the paint phase. It's critical to paint only when

Powered by Google App Engine
This is Rietveld 408576698