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

Side by Side Diff: third_party/WebKit/Source/core/animation/AnimationTimeline.cpp

Issue 2387263004: Manually remove many instances of a comma quirk arising from the reformat. (Closed)
Patch Set: merge with master; thakis nit Created 4 years, 2 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
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 // TODO: Plumb a nominal framerate through and derive this value from that. 58 // TODO: Plumb a nominal framerate through and derive this value from that.
59 const double AnimationTimeline::s_minimumDelay = 0.04; 59 const double AnimationTimeline::s_minimumDelay = 0.04;
60 60
61 AnimationTimeline* AnimationTimeline::create(Document* document, 61 AnimationTimeline* AnimationTimeline::create(Document* document,
62 PlatformTiming* timing) { 62 PlatformTiming* timing) {
63 return new AnimationTimeline(document, timing); 63 return new AnimationTimeline(document, timing);
64 } 64 }
65 65
66 AnimationTimeline::AnimationTimeline(Document* document, PlatformTiming* timing) 66 AnimationTimeline::AnimationTimeline(Document* document, PlatformTiming* timing)
67 : m_document(document), 67 : m_document(document),
68 m_zeroTime( 68 // 0 is used by unit tests which cannot initialize from the loader
69 0) // 0 is used by unit tests which cannot initialize from the loader 69 m_zeroTime(0),
70 ,
71 m_zeroTimeInitialized(false), 70 m_zeroTimeInitialized(false),
72 m_outdatedAnimationCount(0), 71 m_outdatedAnimationCount(0),
73 m_playbackRate(1), 72 m_playbackRate(1),
74 m_lastCurrentTimeInternal(0) { 73 m_lastCurrentTimeInternal(0) {
75 if (!timing) 74 if (!timing)
76 m_timing = new AnimationTimelineTiming(this); 75 m_timing = new AnimationTimelineTiming(this);
77 else 76 else
78 m_timing = timing; 77 m_timing = timing;
79 78
80 if (Platform::current()->isThreadedAnimationEnabled()) 79 if (Platform::current()->isThreadedAnimationEnabled())
(...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after
318 } 317 }
319 318
320 DEFINE_TRACE(AnimationTimeline) { 319 DEFINE_TRACE(AnimationTimeline) {
321 visitor->trace(m_document); 320 visitor->trace(m_document);
322 visitor->trace(m_timing); 321 visitor->trace(m_timing);
323 visitor->trace(m_animationsNeedingUpdate); 322 visitor->trace(m_animationsNeedingUpdate);
324 visitor->trace(m_animations); 323 visitor->trace(m_animations);
325 } 324 }
326 325
327 } // namespace blink 326 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/bindings/core/v8/DOMDataStore.h ('k') | third_party/WebKit/Source/core/css/MediaQueryEvaluator.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698