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

Unified Diff: third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp

Issue 1700653002: CC Animation: Expose TargetProperty enum to be aliased in Blink Platform. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 10 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/platform/animation/CompositorAnimationPlayerTest.cpp
diff --git a/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp b/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp
index 792d2b791b760ec3181f848e10a62dc7fb39d46f..2aa9eb05a4c3fe7577e891a6197fb16153ed0cbd 100644
--- a/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp
+++ b/third_party/WebKit/Source/platform/animation/CompositorAnimationPlayerTest.cpp
@@ -6,6 +6,7 @@
#include "base/memory/scoped_ptr.h"
#include "base/time/time.h"
+#include "platform/animation/CompositorTargetProperty.h"
#include "public/platform/WebCompositorAnimationDelegate.h"
#include "testing/gmock/include/gmock/gmock.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -40,10 +41,10 @@ TEST(WebCompositorAnimationPlayerTest, NullDelegate)
cc::AnimationPlayer* player = webPlayer->animationPlayer();
webPlayer->setAnimationDelegate(delegate.get());
- player->NotifyAnimationFinished(TimeTicks(), Animation::SCROLL_OFFSET, 0);
+ player->NotifyAnimationFinished(TimeTicks(), CompositorTargetProperty::SCROLL_OFFSET, 0);
webPlayer->setAnimationDelegate(nullptr);
- player->NotifyAnimationFinished(TimeTicks(), Animation::SCROLL_OFFSET, 0);
+ player->NotifyAnimationFinished(TimeTicks(), CompositorTargetProperty::SCROLL_OFFSET, 0);
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698