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

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

Issue 1616653002: CC Animation: Move files from cc_blink to Source/platform/animation (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add WTF_MAKE_NONCOPYABLE. Remove INSIDE_BLINK for keyframes. Created 4 years, 11 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/CompositorFilterKeyframe.cpp
diff --git a/third_party/WebKit/Source/platform/exported/WebFilterKeyframe.cpp b/third_party/WebKit/Source/platform/animation/CompositorFilterKeyframe.cpp
similarity index 85%
rename from third_party/WebKit/Source/platform/exported/WebFilterKeyframe.cpp
rename to third_party/WebKit/Source/platform/animation/CompositorFilterKeyframe.cpp
index 32052f914bc832a8bacd4ce1ade2b95ca7dd6298..4e1d8c65b1a41ceaa4fdc5c07f5447f70e84e53b 100644
--- a/third_party/WebKit/Source/platform/exported/WebFilterKeyframe.cpp
+++ b/third_party/WebKit/Source/platform/animation/CompositorFilterKeyframe.cpp
@@ -22,21 +22,19 @@
* SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
*/
-#include "public/platform/WebFilterKeyframe.h"
-
-#include "wtf/PassOwnPtr.h"
+#include "platform/animation/CompositorFilterKeyframe.h"
namespace blink {
-WebFilterKeyframe::WebFilterKeyframe(double time, PassOwnPtr<WebFilterOperations> value)
+CompositorFilterKeyframe::CompositorFilterKeyframe(double time, PassOwnPtr<CompositorFilterOperations> value)
: m_time(time)
, m_value(std::move(value))
{
}
-WebFilterKeyframe::~WebFilterKeyframe()
+CompositorFilterKeyframe::~CompositorFilterKeyframe()
{
- m_value.reset(0);
+ m_value.clear();
}
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698