| Index: Source/core/dom/ScriptedAnimationController.cpp
|
| diff --git a/Source/core/dom/ScriptedAnimationController.cpp b/Source/core/dom/ScriptedAnimationController.cpp
|
| index fa20774ae37bc1fb9611a4a9d7c01c81d007a68a..5abde6be642a62640408d100b5939c16d08cd66a 100644
|
| --- a/Source/core/dom/ScriptedAnimationController.cpp
|
| +++ b/Source/core/dom/ScriptedAnimationController.cpp
|
| @@ -35,7 +35,6 @@
|
| #include "core/inspector/InspectorInstrumentation.h"
|
| #include "core/inspector/InspectorTraceEvents.h"
|
| #include "core/loader/DocumentLoader.h"
|
| -#include "platform/Logging.h"
|
|
|
| namespace blink {
|
|
|
| @@ -68,7 +67,6 @@
|
| void ScriptedAnimationController::suspend()
|
| {
|
| ++m_suspendCount;
|
| - WTF_LOG(ScriptedAnimationController, "suspend: count = %d", m_suspendCount);
|
| }
|
|
|
| void ScriptedAnimationController::resume()
|
| @@ -77,14 +75,12 @@
|
| // even when suspend hasn't (if a tab was created in the background).
|
| if (m_suspendCount > 0)
|
| --m_suspendCount;
|
| - WTF_LOG(ScriptedAnimationController, "resume: count = %d", m_suspendCount);
|
| scheduleAnimationIfNeeded();
|
| }
|
|
|
| ScriptedAnimationController::CallbackId ScriptedAnimationController::registerCallback(PassOwnPtr<RequestAnimationFrameCallback> callback)
|
| {
|
| ScriptedAnimationController::CallbackId id = ++m_nextCallbackId;
|
| - WTF_LOG(ScriptedAnimationController, "registerCallback: id = %d", id);
|
| callback->m_cancelled = false;
|
| callback->m_id = id;
|
| m_callbacks.append(callback);
|
| @@ -100,7 +96,6 @@
|
|
|
| void ScriptedAnimationController::cancelCallback(CallbackId id)
|
| {
|
| - WTF_LOG(ScriptedAnimationController, "cancelCallback: id = %d", id);
|
| for (size_t i = 0; i < m_callbacks.size(); ++i) {
|
| if (m_callbacks[i]->m_id == id) {
|
| TRACE_EVENT_INSTANT1(TRACE_DISABLED_BY_DEFAULT("devtools.timeline"), "CancelAnimationFrame", "data", InspectorAnimationFrameEvent::data(m_document, id));
|
| @@ -189,8 +184,6 @@
|
|
|
| void ScriptedAnimationController::serviceScriptedAnimations(double monotonicTimeNow)
|
| {
|
| - WTF_LOG(ScriptedAnimationController, "serviceScriptedAnimations: #callbacks = %lu, #events = %lu, #mediaQueryListListeners =%u, count = %d",
|
| - m_callbacks.size(), m_eventQueue.size(), m_mediaQueryListListeners.size(), m_suspendCount);
|
| if (!m_callbacks.size() && !m_eventQueue.size() && !m_mediaQueryListListeners.size())
|
| return;
|
|
|
| @@ -208,7 +201,6 @@
|
|
|
| void ScriptedAnimationController::enqueueEvent(PassRefPtrWillBeRawPtr<Event> event)
|
| {
|
| - WTF_LOG(ScriptedAnimationController, "enqueueEvent");
|
| InspectorInstrumentation::didEnqueueEvent(event->target(), event.get());
|
| m_eventQueue.append(event);
|
| scheduleAnimationIfNeeded();
|
| @@ -223,7 +215,6 @@
|
|
|
| void ScriptedAnimationController::enqueueMediaQueryChangeListeners(WillBeHeapVector<RefPtrWillBeMember<MediaQueryListListener> >& listeners)
|
| {
|
| - WTF_LOG(ScriptedAnimationController, "enqueueMediaQueryChangeListeners");
|
| for (size_t i = 0; i < listeners.size(); ++i) {
|
| m_mediaQueryListListeners.add(listeners[i]);
|
| }
|
| @@ -232,8 +223,6 @@
|
|
|
| void ScriptedAnimationController::scheduleAnimationIfNeeded()
|
| {
|
| - WTF_LOG(ScriptedAnimationController, "scheduleAnimationIfNeeded: document = %d, count = %d, #callbacks = %lu, #events = %lu, #mediaQueryListListeners =%u, frameView = %d",
|
| - m_document ? 1 : 0, m_suspendCount, m_callbacks.size(), m_eventQueue.size(), m_mediaQueryListListeners.size(), m_document && m_document->view() ? 1 : 0);
|
| if (!m_document)
|
| return;
|
|
|
|
|