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

Side by Side Diff: third_party/WebKit/Source/web/AnimationWorkletProxyClientImpl.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 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 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/AnimationWorkletProxyClientImpl.h" 5 #include "web/AnimationWorkletProxyClientImpl.h"
6 6
7 #include "core/dom/CompositorProxy.h" 7 #include "core/dom/CompositorProxy.h"
8 #include "platform/graphics/CompositorMutableStateProvider.h" 8 #include "platform/graphics/CompositorMutableStateProvider.h"
9 #include "web/CompositorMutatorImpl.h" 9 #include "web/CompositorMutatorImpl.h"
10 10
(...skipping 23 matching lines...) Expand all
34 34
35 void AnimationWorkletProxyClientImpl::registerCompositorProxy( 35 void AnimationWorkletProxyClientImpl::registerCompositorProxy(
36 CompositorProxy* proxy) { 36 CompositorProxy* proxy) {
37 DCHECK(!isMainThread()); 37 DCHECK(!isMainThread());
38 m_proxies.insert(proxy); 38 m_proxies.insert(proxy);
39 } 39 }
40 40
41 void AnimationWorkletProxyClientImpl::unregisterCompositorProxy( 41 void AnimationWorkletProxyClientImpl::unregisterCompositorProxy(
42 CompositorProxy* proxy) { 42 CompositorProxy* proxy) {
43 DCHECK(!isMainThread()); 43 DCHECK(!isMainThread());
44 m_proxies.remove(proxy); 44 m_proxies.erase(proxy);
45 } 45 }
46 46
47 } // namespace blink 47 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698