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 1bd519d8f8c9af51c99610c23f2428fb6b450646..fb40160723e975ef54dfe3cae48bfde4a37f87cb 100644 |
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImage.cpp |
@@ -376,8 +376,8 @@ void SVGImage::drawInternal(SkCanvas* canvas, const SkPaint& paint, const FloatR |
canvas->drawPicture(recording.get()); |
} |
- if (imageObserver()) |
- imageObserver()->didDraw(this); |
+ if (getImageObserver()) |
+ getImageObserver()->didDraw(this); |
// Start any (SMIL) animations if needed. This will restart or continue |
// animations if preceded by calls to resetAnimation or stopAnimation |
@@ -445,7 +445,7 @@ void SVGImage::advanceAnimationForTesting() |
// TODO(pdr): Actually advance the document timeline so CSS animations |
// can be properly tested. |
rootElement->document().page()->animator().serviceScriptedAnimations(rootElement->getCurrentTime()); |
- imageObserver()->animationAdvanced(this); |
+ getImageObserver()->animationAdvanced(this); |
} |
} |