Index: third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp |
diff --git a/third_party/WebKit/Source/web/tests/ScrollAnimatorTest.cpp b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp |
similarity index 99% |
rename from third_party/WebKit/Source/web/tests/ScrollAnimatorTest.cpp |
rename to third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp |
index d691c953a295f908a66bb41aad776341bf117076..39efe847a48dbe55faabbef0ed6e9b8594738bc3 100644 |
--- a/third_party/WebKit/Source/web/tests/ScrollAnimatorTest.cpp |
+++ b/third_party/WebKit/Source/platform/scroll/ScrollAnimatorTest.cpp |
@@ -42,6 +42,8 @@ using testing::AtLeast; |
using testing::Return; |
using testing::_; |
+namespace { |
+ |
class MockScrollableArea : public NoBaseWillBeGarbageCollectedFinalized<MockScrollableArea>, public ScrollableArea { |
WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(MockScrollableArea); |
public: |
@@ -122,6 +124,8 @@ private: |
}; |
+} // namespace |
+ |
TEST(ScrollAnimatorEnabled, Enabled) |
{ |
OwnPtrWillBeRawPtr<MockScrollableArea> scrollableArea = MockScrollableArea::create(true); |