| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "web/CompositorWorkerProxyClientImpl.h" | 5 #include "web/CompositorWorkerProxyClientImpl.h" |
| 6 | 6 |
| 7 #include "core/dom/CompositorProxy.h" | 7 #include "core/dom/CompositorProxy.h" |
| 8 #include "modules/compositorworker/CompositorWorkerGlobalScope.h" | 8 #include "modules/compositorworker/CompositorWorkerGlobalScope.h" |
| 9 #include "platform/graphics/CompositorMutableStateProvider.h" | 9 #include "platform/graphics/CompositorMutableStateProvider.h" |
| 10 #include "platform/instrumentation/tracing/TraceEvent.h" | 10 #include "platform/instrumentation/tracing/TraceEvent.h" |
| (...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 return m_globalScope->executeAnimationFrameCallbacks(highResTimeMs); | 110 return m_globalScope->executeAnimationFrameCallbacks(highResTimeMs); |
| 111 } | 111 } |
| 112 | 112 |
| 113 void CompositorWorkerProxyClientImpl::registerCompositorProxy( | 113 void CompositorWorkerProxyClientImpl::registerCompositorProxy( |
| 114 CompositorProxy* proxy) { | 114 CompositorProxy* proxy) { |
| 115 m_proxies.insert(proxy); | 115 m_proxies.insert(proxy); |
| 116 } | 116 } |
| 117 | 117 |
| 118 void CompositorWorkerProxyClientImpl::unregisterCompositorProxy( | 118 void CompositorWorkerProxyClientImpl::unregisterCompositorProxy( |
| 119 CompositorProxy* proxy) { | 119 CompositorProxy* proxy) { |
| 120 m_proxies.remove(proxy); | 120 m_proxies.erase(proxy); |
| 121 } | 121 } |
| 122 | 122 |
| 123 } // namespace blink | 123 } // namespace blink |
| OLD | NEW |