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

Side by Side Diff: Source/core/animation/CompositorAnimationsTest.cpp

Issue 1310453004: Remove testing::CloneToPassOwnPtr; it is unused. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | Source/core/animation/CompositorAnimationsTestHelper.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (c) 2013, Google Inc. All rights reserved. 2 * Copyright (c) 2013, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are 5 * modification, are permitted provided that the following conditions are
6 * met: 6 * met:
7 * 7 *
8 * * Redistributions of source code must retain the above copyright 8 * * Redistributions of source code must retain the above copyright
9 * notice, this list of conditions and the following disclaimer. 9 * notice, this list of conditions and the following disclaimer.
10 * * Redistributions in binary form must reproduce the above 10 * * Redistributions in binary form must reproduce the above
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after
54 #include "wtf/OwnPtr.h" 54 #include "wtf/OwnPtr.h"
55 #include "wtf/PassOwnPtr.h" 55 #include "wtf/PassOwnPtr.h"
56 #include "wtf/PassRefPtr.h" 56 #include "wtf/PassRefPtr.h"
57 #include "wtf/RefPtr.h" 57 #include "wtf/RefPtr.h"
58 58
59 #include <gmock/gmock.h> 59 #include <gmock/gmock.h>
60 #include <gtest/gtest.h> 60 #include <gtest/gtest.h>
61 61
62 namespace blink { 62 namespace blink {
63 63
64 using ::testing::CloneToPassOwnPtr;
65 using ::testing::ExpectationSet; 64 using ::testing::ExpectationSet;
66 using ::testing::Ref; 65 using ::testing::Ref;
67 using ::testing::Return; 66 using ::testing::Return;
68 using ::testing::_; 67 using ::testing::_;
69 68
70 class AnimationCompositorAnimationsTest : public AnimationCompositorAnimationsTe stBase { 69 class AnimationCompositorAnimationsTest : public AnimationCompositorAnimationsTe stBase {
71 protected: 70 protected:
72 RefPtr<TimingFunction> m_linearTimingFunction; 71 RefPtr<TimingFunction> m_linearTimingFunction;
73 RefPtr<TimingFunction> m_cubicEaseTimingFunction; 72 RefPtr<TimingFunction> m_cubicEaseTimingFunction;
74 RefPtr<TimingFunction> m_cubicCustomTimingFunction; 73 RefPtr<TimingFunction> m_cubicCustomTimingFunction;
(...skipping 1170 matching lines...) Expand 10 before | Expand all | Expand 10 after
1245 element->setLayoutObject(nullptr); 1244 element->setLayoutObject(nullptr);
1246 LayoutObjectProxy::dispose(layoutObject); 1245 LayoutObjectProxy::dispose(layoutObject);
1247 1246
1248 animation1.release(); 1247 animation1.release();
1249 animation2.release(); 1248 animation2.release();
1250 Heap::collectAllGarbage(); 1249 Heap::collectAllGarbage();
1251 EXPECT_TRUE(element->elementAnimations()->animations().isEmpty()); 1250 EXPECT_TRUE(element->elementAnimations()->animations().isEmpty());
1252 } 1251 }
1253 1252
1254 } // namespace blink 1253 } // namespace blink
OLDNEW
« no previous file with comments | « no previous file | Source/core/animation/CompositorAnimationsTestHelper.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698