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

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

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 , m_timeline(&timeline) 67 , m_timeline(&timeline)
68 , m_paused(false) 68 , m_paused(false)
69 , m_held(true) 69 , m_held(true)
70 , m_isPausedForTesting(false) 70 , m_isPausedForTesting(false)
71 , m_outdated(true) 71 , m_outdated(true)
72 , m_finished(false) 72 , m_finished(false)
73 , m_compositorState(nullptr) 73 , m_compositorState(nullptr)
74 , m_compositorPending(true) 74 , m_compositorPending(true)
75 , m_currentTimePending(false) 75 , m_currentTimePending(false)
76 { 76 {
77 ScriptWrappable::init(this);
78 if (m_content) { 77 if (m_content) {
79 if (m_content->player()) 78 if (m_content->player())
80 m_content->player()->cancel(); 79 m_content->player()->cancel();
81 m_content->attach(this); 80 m_content->attach(this);
82 } 81 }
83 } 82 }
84 83
85 AnimationPlayer::~AnimationPlayer() 84 AnimationPlayer::~AnimationPlayer()
86 { 85 {
87 #if !ENABLE(OILPAN) 86 #if !ENABLE(OILPAN)
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after
661 660
662 void AnimationPlayer::trace(Visitor* visitor) 661 void AnimationPlayer::trace(Visitor* visitor)
663 { 662 {
664 visitor->trace(m_content); 663 visitor->trace(m_content);
665 visitor->trace(m_timeline); 664 visitor->trace(m_timeline);
666 visitor->trace(m_pendingFinishedEvent); 665 visitor->trace(m_pendingFinishedEvent);
667 EventTargetWithInlineData::trace(visitor); 666 EventTargetWithInlineData::trace(visitor);
668 } 667 }
669 668
670 } // namespace 669 } // namespace
OLDNEW
« no previous file with comments | « Source/core/animation/AnimationNodeTiming.cpp ('k') | Source/core/animation/AnimationTimeline.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698