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

Side by Side Diff: third_party/WebKit/Source/core/dom/CompositorProxiedPropertySet.h

Issue 1512473002: Oilpan: fix build after r363737. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: another include addition needed Created 5 years 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/CompositorProxiedPropertySet.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef CompositorProxiedPropertySet_h 5 #ifndef CompositorProxiedPropertySet_h
6 #define CompositorProxiedPropertySet_h 6 #define CompositorProxiedPropertySet_h
7 7
8 #include "platform/heap/Handle.h"
9 #include "public/platform/WebCompositorMutableProperties.h" 8 #include "public/platform/WebCompositorMutableProperties.h"
9 #include "wtf/Allocator.h"
10 #include "wtf/Forward.h"
11 #include "wtf/Noncopyable.h"
10 12
11 namespace blink { 13 namespace blink {
12 14
13 // Keeps track of the number of proxies bound to each property. 15 // Keeps track of the number of proxies bound to each property.
14 class CompositorProxiedPropertySet final : public NoBaseWillBeGarbageCollectedFi nalized<CompositorProxiedPropertySet> { 16 class CompositorProxiedPropertySet final {
15 WTF_MAKE_NONCOPYABLE(CompositorProxiedPropertySet); 17 WTF_MAKE_NONCOPYABLE(CompositorProxiedPropertySet);
16 USING_FAST_MALLOC_WILL_BE_REMOVED(CompositorProxiedPropertySet); 18 USING_FAST_MALLOC(CompositorProxiedPropertySet);
17 public: 19 public:
18 static PassOwnPtrWillBeRawPtr<CompositorProxiedPropertySet> create(); 20 static PassOwnPtr<CompositorProxiedPropertySet> create();
19 virtual ~CompositorProxiedPropertySet(); 21 virtual ~CompositorProxiedPropertySet();
20 22
21 DEFINE_INLINE_TRACE() { }
22
23 bool isEmpty() const; 23 bool isEmpty() const;
24 void increment(uint32_t mutableProperties); 24 void increment(uint32_t mutableProperties);
25 void decrement(uint32_t mutableProperties); 25 void decrement(uint32_t mutableProperties);
26 uint32_t proxiedProperties() const; 26 uint32_t proxiedProperties() const;
27 27
28 private: 28 private:
29 CompositorProxiedPropertySet(); 29 CompositorProxiedPropertySet();
30 30
31 unsigned short m_counts[kNumWebCompositorMutableProperties]; 31 unsigned short m_counts[kNumWebCompositorMutableProperties];
32 }; 32 };
33 33
34 } // namespace blink 34 } // namespace blink
35 35
36 #endif // CompositorProxiedPropertySet_h 36 #endif // CompositorProxiedPropertySet_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/dom/CompositorProxiedPropertySet.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698