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

Side by Side Diff: third_party/WebKit/Source/web/CompositorProxyClientImpl.h

Issue 2774223002: CompositorWorkerProxyClientImpl to CompositorProxy cross thread reference is using WeakMember (Closed)
Patch Set: fix Created 3 years, 8 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
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CompositorProxyClientImpl_h
6 #define CompositorProxyClientImpl_h
7
8 #include "core/dom/CompositorProxyClient.h"
9
10 namespace blink {
11
12 class CompositorProxyClientImpl
sof 2017/03/29 10:24:08 Could you add some documentation describing where
keishi 2017/03/30 08:34:14 Done.
13 : public GarbageCollectedFinalized<CompositorProxyClientImpl>,
14 public CompositorProxyClient {
15 USING_GARBAGE_COLLECTED_MIXIN(CompositorProxyClientImpl);
16
17 public:
18 DECLARE_TRACE();
19
20 // CompositorProxyClient:
21 void registerCompositorProxy(CompositorProxy*) override;
22 void unregisterCompositorProxy(CompositorProxy*) override;
23
24 HeapHashSet<WeakMember<CompositorProxy>>& proxies() { return m_proxies; }
25
26 private:
27 HeapHashSet<WeakMember<CompositorProxy>> m_proxies;
28 };
29
30 } // namespace blink
31
32 #endif // CompositorProxyClientImpl_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698