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

Side by Side Diff: Source/core/rendering/compositing/CompositingInputsUpdater.h

Issue 327323002: Start removing the double-negative !ASSERT_DISABLED (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 | Annotate | Revision Log
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CompositingInputsUpdater_h 5 #ifndef CompositingInputsUpdater_h
6 #define CompositingInputsUpdater_h 6 #define CompositingInputsUpdater_h
7 7
8 #include "core/rendering/RenderGeometryMap.h" 8 #include "core/rendering/RenderGeometryMap.h"
9 9
10 namespace WebCore { 10 namespace WebCore {
(...skipping 17 matching lines...) Expand all
28 explicit CompositingInputsUpdater(RenderLayer* rootRenderLayer); 28 explicit CompositingInputsUpdater(RenderLayer* rootRenderLayer);
29 ~CompositingInputsUpdater(); 29 ~CompositingInputsUpdater();
30 30
31 enum UpdateType { 31 enum UpdateType {
32 DoNotForceUpdate, 32 DoNotForceUpdate,
33 ForceUpdate, 33 ForceUpdate,
34 }; 34 };
35 35
36 void update(RenderLayer*, UpdateType = DoNotForceUpdate, AncestorInfo = Ance storInfo()); 36 void update(RenderLayer*, UpdateType = DoNotForceUpdate, AncestorInfo = Ance storInfo());
37 37
38 #if !ASSERT_DISABLED 38 #if ASSERT_ENABLED
39 static void assertNeedsCompositingInputsUpdateBitsCleared(RenderLayer*); 39 static void assertNeedsCompositingInputsUpdateBitsCleared(RenderLayer*);
40 #endif 40 #endif
41 41
42 private: 42 private:
43 RenderGeometryMap m_geometryMap; 43 RenderGeometryMap m_geometryMap;
44 RenderLayer* m_rootRenderLayer; 44 RenderLayer* m_rootRenderLayer;
45 }; 45 };
46 46
47 } // namespace WebCore 47 } // namespace WebCore
48 48
49 #endif // CompositingInputsUpdater_h 49 #endif // CompositingInputsUpdater_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698