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

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

Issue 2783133002: Implement Image::maybeAnimated for SVGImage (Closed)
Patch Set: Fix typo Created 3 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/SVGImageTest.cpp
diff --git a/third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp b/third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp
index 79e797460d245505a4d1d89f13843ab534283c3b..5f9386159e02bfd679a5ce56d3be1c3f1d69ce48 100644
--- a/third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp
+++ b/third_party/WebKit/Source/core/svg/graphics/SVGImageTest.cpp
@@ -91,7 +91,7 @@ TEST_F(SVGImageTest, TimelineSuspendAndResume) {
// Simulate a draw. Cause a frame (timer) to be scheduled.
pumpFrame();
- EXPECT_TRUE(image().hasAnimations());
+ EXPECT_TRUE(image().maybeAnimated());
EXPECT_TRUE(timer->isActive());
// Fire the timer/trigger a frame update. Since the observer always returns
@@ -119,7 +119,7 @@ TEST_F(SVGImageTest, ResetAnimation) {
// Simulate a draw. Cause a frame (timer) to be scheduled.
pumpFrame();
- EXPECT_TRUE(image().hasAnimations());
+ EXPECT_TRUE(image().maybeAnimated());
EXPECT_TRUE(timer->isActive());
// Reset the animation. This will suspend the timeline but not cancel the

Powered by Google App Engine
This is Rietveld 408576698