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

Side by Side Diff: third_party/WebKit/Source/web/CompositorWorkerProxyClientImpl.cpp

Issue 2696183002: Migrate WTF::HashSet::remove() to ::erase() [part 1] (Closed)
Patch Set: one more platform-specific reference Created 3 years, 10 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 // 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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/web/CompositorMutatorImpl.cpp ('k') | third_party/WebKit/Source/web/OpenedFrameTracker.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698