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

Side by Side Diff: Source/core/animation/AnimationTimeline.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
« no previous file with comments | « Source/core/animation/AnimationPlayer.cpp ('k') | Source/core/clipboard/DataTransfer.cpp » ('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 44 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 55
56 56
57 PassRefPtrWillBeRawPtr<AnimationTimeline> AnimationTimeline::create(Document* do cument, PassOwnPtrWillBeRawPtr<PlatformTiming> timing) 57 PassRefPtrWillBeRawPtr<AnimationTimeline> AnimationTimeline::create(Document* do cument, PassOwnPtrWillBeRawPtr<PlatformTiming> timing)
58 { 58 {
59 return adoptRefWillBeNoop(new AnimationTimeline(document, timing)); 59 return adoptRefWillBeNoop(new AnimationTimeline(document, timing));
60 } 60 }
61 61
62 AnimationTimeline::AnimationTimeline(Document* document, PassOwnPtrWillBeRawPtr< PlatformTiming> timing) 62 AnimationTimeline::AnimationTimeline(Document* document, PassOwnPtrWillBeRawPtr< PlatformTiming> timing)
63 : m_document(document) 63 : m_document(document)
64 { 64 {
65 ScriptWrappable::init(this);
66 if (!timing) 65 if (!timing)
67 m_timing = adoptPtrWillBeNoop(new AnimationTimelineTiming(this)); 66 m_timing = adoptPtrWillBeNoop(new AnimationTimelineTiming(this));
68 else 67 else
69 m_timing = timing; 68 m_timing = timing;
70 69
71 ASSERT(document); 70 ASSERT(document);
72 } 71 }
73 72
74 AnimationTimeline::~AnimationTimeline() 73 AnimationTimeline::~AnimationTimeline()
75 { 74 {
(...skipping 159 matching lines...) Expand 10 before | Expand all | Expand 10 after
235 { 234 {
236 #if ENABLE(OILPAN) 235 #if ENABLE(OILPAN)
237 visitor->trace(m_document); 236 visitor->trace(m_document);
238 visitor->trace(m_timing); 237 visitor->trace(m_timing);
239 visitor->trace(m_playersNeedingUpdate); 238 visitor->trace(m_playersNeedingUpdate);
240 visitor->trace(m_players); 239 visitor->trace(m_players);
241 #endif 240 #endif
242 } 241 }
243 242
244 } // namespace 243 } // namespace
OLDNEW
« no previous file with comments | « Source/core/animation/AnimationPlayer.cpp ('k') | Source/core/clipboard/DataTransfer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698