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

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

Issue 2050123002: Remove OwnPtr from Blink. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: First attempt to land. Created 4 years, 6 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 23 matching lines...) Expand all
34 #include "core/animation/ElementAnimations.h" 34 #include "core/animation/ElementAnimations.h"
35 #include "core/dom/Document.h" 35 #include "core/dom/Document.h"
36 #include "core/frame/FrameView.h" 36 #include "core/frame/FrameView.h"
37 #include "core/loader/DocumentLoader.h" 37 #include "core/loader/DocumentLoader.h"
38 #include "core/page/Page.h" 38 #include "core/page/Page.h"
39 #include "platform/RuntimeEnabledFeatures.h" 39 #include "platform/RuntimeEnabledFeatures.h"
40 #include "platform/TraceEvent.h" 40 #include "platform/TraceEvent.h"
41 #include "platform/animation/CompositorAnimationTimeline.h" 41 #include "platform/animation/CompositorAnimationTimeline.h"
42 #include "public/platform/Platform.h" 42 #include "public/platform/Platform.h"
43 #include "public/platform/WebCompositorSupport.h" 43 #include "public/platform/WebCompositorSupport.h"
44 #include "wtf/PtrUtil.h"
44 #include <algorithm> 45 #include <algorithm>
45 46
46 namespace blink { 47 namespace blink {
47 48
48 namespace { 49 namespace {
49 50
50 bool compareAnimations(const Member<Animation>& left, const Member<Animation>& r ight) 51 bool compareAnimations(const Member<Animation>& left, const Member<Animation>& r ight)
51 { 52 {
52 return Animation::hasLowerPriority(left.get(), right.get()); 53 return Animation::hasLowerPriority(left.get(), right.get());
53 } 54 }
(...skipping 294 matching lines...) Expand 10 before | Expand all | Expand 10 after
348 349
349 DEFINE_TRACE(AnimationTimeline) 350 DEFINE_TRACE(AnimationTimeline)
350 { 351 {
351 visitor->trace(m_document); 352 visitor->trace(m_document);
352 visitor->trace(m_timing); 353 visitor->trace(m_timing);
353 visitor->trace(m_animationsNeedingUpdate); 354 visitor->trace(m_animationsNeedingUpdate);
354 visitor->trace(m_animations); 355 visitor->trace(m_animations);
355 } 356 }
356 357
357 } // namespace blink 358 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698