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

Unified Diff: Source/core/animation/AnimationTranslationUtilTest.cpp

Issue 453393002: Cleanup duplicated namespace in AnimationTranslationUtil (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Cleanup duplicated namespace in AnimationTranslationUtil Created 6 years, 4 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
« no previous file with comments | « Source/core/animation/AnimationTranslationUtil.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/animation/AnimationTranslationUtilTest.cpp
diff --git a/Source/core/animation/AnimationTranslationUtilTest.cpp b/Source/core/animation/AnimationTranslationUtilTest.cpp
index 06531ec272e2f7e2cc5123ca53cd7155329241d2..ac89156df77abcac3758c4971d587db6c2685a92 100644
--- a/Source/core/animation/AnimationTranslationUtilTest.cpp
+++ b/Source/core/animation/AnimationTranslationUtilTest.cpp
@@ -43,11 +43,10 @@
#include <gtest/gtest.h>
using namespace blink;
-using namespace blink;
namespace {
-class WebTransformOperationsMock : public blink::WebTransformOperations {
+class WebTransformOperationsMock : public WebTransformOperations {
public:
MOCK_CONST_METHOD1(canBlendWith, bool(const WebTransformOperations&));
MOCK_METHOD3(appendTranslate, void(double, double, double));
@@ -60,7 +59,7 @@ public:
MOCK_CONST_METHOD0(isIdentity, bool());
};
-class WebFilterOperationsMock : public blink::WebFilterOperations {
+class WebFilterOperationsMock : public WebFilterOperations {
public:
MOCK_METHOD1(appendGrayscaleFilter, void(float));
MOCK_METHOD1(appendSepiaFilter, void(float));
@@ -88,7 +87,7 @@ TEST(AnimationTranslationUtilTest, transformsWork)
EXPECT_CALL(outOps, appendRotate(0.1, 0.2, 0.3, 200000.4));
EXPECT_CALL(outOps, appendScale(50.2, 100, -4));
- ops.operations().append(TranslateTransformOperation::create(Length(2, blink::Fixed), Length(0, blink::Fixed), TransformOperation::TranslateX));
+ ops.operations().append(TranslateTransformOperation::create(Length(2, Fixed), Length(0, Fixed), TransformOperation::TranslateX));
ops.operations().append(RotateTransformOperation::create(0.1, 0.2, 0.3, 200000.4, TransformOperation::Rotate3D));
ops.operations().append(ScaleTransformOperation::create(50.2, 100, -4, TransformOperation::Scale3D));
toWebTransformOperations(ops, &outOps);
« no previous file with comments | « Source/core/animation/AnimationTranslationUtil.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698