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

Side by Side Diff: Source/core/dom/ScriptedAnimationController.cpp

Issue 398793002: Oilpan: Remove support for tracing of off-heap ListHashSets. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix number in test. Created 6 years, 5 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/dom/DocumentOrderedList.cpp ('k') | Source/core/events/DOMWindowEventQueue.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) 2011 Google Inc. All Rights Reserved. 2 * Copyright (C) 2011 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 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 , m_suspendCount(0) 49 , m_suspendCount(0)
50 { 50 {
51 } 51 }
52 52
53 ScriptedAnimationController::~ScriptedAnimationController() 53 ScriptedAnimationController::~ScriptedAnimationController()
54 { 54 {
55 } 55 }
56 56
57 void ScriptedAnimationController::trace(Visitor* visitor) 57 void ScriptedAnimationController::trace(Visitor* visitor)
58 { 58 {
59 #if ENABLE(OILPAN)
59 visitor->trace(m_document); 60 visitor->trace(m_document);
60 visitor->trace(m_eventQueue); 61 visitor->trace(m_eventQueue);
61 visitor->trace(m_mediaQueryListListeners); 62 visitor->trace(m_mediaQueryListListeners);
62 #if ENABLE(OILPAN)
63 visitor->trace(m_perFrameEvents); 63 visitor->trace(m_perFrameEvents);
64 #endif 64 #endif
65 } 65 }
66 66
67 void ScriptedAnimationController::suspend() 67 void ScriptedAnimationController::suspend()
68 { 68 {
69 ++m_suspendCount; 69 ++m_suspendCount;
70 } 70 }
71 71
72 void ScriptedAnimationController::resume() 72 void ScriptedAnimationController::resume()
(...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after
230 return; 230 return;
231 231
232 if (!m_callbacks.size() && !m_eventQueue.size() && !m_mediaQueryListListener s.size()) 232 if (!m_callbacks.size() && !m_eventQueue.size() && !m_mediaQueryListListener s.size())
233 return; 233 return;
234 234
235 if (FrameView* frameView = m_document->view()) 235 if (FrameView* frameView = m_document->view())
236 frameView->scheduleAnimation(); 236 frameView->scheduleAnimation();
237 } 237 }
238 238
239 } 239 }
OLDNEW
« no previous file with comments | « Source/core/dom/DocumentOrderedList.cpp ('k') | Source/core/events/DOMWindowEventQueue.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698