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

Side by Side Diff: Source/core/animation/animatable/AnimatableValueTestHelper.cpp

Issue 1276183004: Oilpan: Unship oilpan from temporary animation objects (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 58
59 void PrintTo(const AnimatableNeutral& animValue, ::std::ostream* os) 59 void PrintTo(const AnimatableNeutral& animValue, ::std::ostream* os)
60 { 60 {
61 *os << "AnimatableNeutral@" << &animValue; 61 *os << "AnimatableNeutral@" << &animValue;
62 } 62 }
63 63
64 void PrintTo(const AnimatableRepeatable& animValue, ::std::ostream* os) 64 void PrintTo(const AnimatableRepeatable& animValue, ::std::ostream* os)
65 { 65 {
66 *os << "AnimatableRepeatable("; 66 *os << "AnimatableRepeatable(";
67 67
68 const WillBeHeapVector<RefPtrWillBeMember<AnimatableValue>> v = animValue.va lues(); 68 const Vector<RefPtr<AnimatableValue>> v = animValue.values();
69 for (WillBeHeapVector<RefPtrWillBeMember<AnimatableValue>>::const_iterator i t = v.begin(); it != v.end(); ++it) { 69 for (Vector<RefPtr<AnimatableValue>>::const_iterator it = v.begin(); it != v .end(); ++it) {
70 PrintTo(*(it->get()), os); 70 PrintTo(*(it->get()), os);
71 if (it+1 != v.end()) 71 if (it+1 != v.end())
72 *os << ", "; 72 *os << ", ";
73 } 73 }
74 *os << ")"; 74 *os << ")";
75 } 75 }
76 76
77 void PrintTo(const AnimatableShapeValue& animValue, ::std::ostream* os) 77 void PrintTo(const AnimatableShapeValue& animValue, ::std::ostream* os)
78 { 78 {
79 *os << "AnimatableShapeValue@" << &animValue; 79 *os << "AnimatableShapeValue@" << &animValue;
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
192 PrintTo(toAnimatableTransform(animValue), os); 192 PrintTo(toAnimatableTransform(animValue), os);
193 else if (animValue.isUnknown()) 193 else if (animValue.isUnknown())
194 PrintTo(toAnimatableUnknown(animValue), os); 194 PrintTo(toAnimatableUnknown(animValue), os);
195 else if (animValue.isVisibility()) 195 else if (animValue.isVisibility())
196 PrintTo(toAnimatableVisibility(animValue), os); 196 PrintTo(toAnimatableVisibility(animValue), os);
197 else 197 else
198 *os << "Unknown AnimatableValue - update ifelse chain in AnimatableValue TestHelper.h"; 198 *os << "Unknown AnimatableValue - update ifelse chain in AnimatableValue TestHelper.h";
199 } 199 }
200 200
201 } // namespace blink 201 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698