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

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

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
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 "config.h" 5 #include "config.h"
6 #include "core/dom/CompositorProxiedPropertySet.h" 6 #include "core/dom/CompositorProxiedPropertySet.h"
7 #include "wtf/PassOwnPtr.h"
7 8
8 namespace blink { 9 namespace blink {
9 10
10 PassOwnPtrWillBeRawPtr<CompositorProxiedPropertySet> CompositorProxiedPropertySe t::create() 11 PassOwnPtr<CompositorProxiedPropertySet> CompositorProxiedPropertySet::create()
11 { 12 {
12 return adoptPtrWillBeNoop(new CompositorProxiedPropertySet); 13 return adoptPtr(new CompositorProxiedPropertySet);
13 } 14 }
14 15
15 CompositorProxiedPropertySet::CompositorProxiedPropertySet() 16 CompositorProxiedPropertySet::CompositorProxiedPropertySet()
16 { 17 {
17 memset(m_counts, 0, sizeof(m_counts)); 18 memset(m_counts, 0, sizeof(m_counts));
18 } 19 }
19 20
20 CompositorProxiedPropertySet::~CompositorProxiedPropertySet() {} 21 CompositorProxiedPropertySet::~CompositorProxiedPropertySet() {}
21 22
22 bool CompositorProxiedPropertySet::isEmpty() const 23 bool CompositorProxiedPropertySet::isEmpty() const
(...skipping 23 matching lines...) Expand all
46 { 47 {
47 uint32_t properties = WebCompositorMutablePropertyNone; 48 uint32_t properties = WebCompositorMutablePropertyNone;
48 for (int i = 0; i < kNumWebCompositorMutableProperties; ++i) { 49 for (int i = 0; i < kNumWebCompositorMutableProperties; ++i) {
49 if (m_counts[i]) 50 if (m_counts[i])
50 properties |= 1 << i; 51 properties |= 1 << i;
51 } 52 }
52 return properties; 53 return properties;
53 } 54 }
54 55
55 } // namespace blink 56 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698