| OLD | NEW |
| 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/layout/LayoutGeometryMap.h" | 8 #include "core/layout/LayoutGeometryMap.h" |
| 9 #include "wtf/Allocator.h" |
| 9 | 10 |
| 10 namespace blink { | 11 namespace blink { |
| 11 | 12 |
| 12 class DeprecatedPaintLayer; | 13 class DeprecatedPaintLayer; |
| 13 | 14 |
| 14 class CompositingInputsUpdater { | 15 class CompositingInputsUpdater { |
| 16 STACK_ALLOCATED(); |
| 15 public: | 17 public: |
| 16 explicit CompositingInputsUpdater(DeprecatedPaintLayer* rootLayer); | 18 explicit CompositingInputsUpdater(DeprecatedPaintLayer* rootLayer); |
| 17 ~CompositingInputsUpdater(); | 19 ~CompositingInputsUpdater(); |
| 18 | 20 |
| 19 void update(); | 21 void update(); |
| 20 | 22 |
| 21 #if ENABLE(ASSERT) | 23 #if ENABLE(ASSERT) |
| 22 static void assertNeedsCompositingInputsUpdateBitsCleared(DeprecatedPaintLay
er*); | 24 static void assertNeedsCompositingInputsUpdateBitsCleared(DeprecatedPaintLay
er*); |
| 23 #endif | 25 #endif |
| 24 | 26 |
| (...skipping 27 matching lines...) Expand all Loading... |
| 52 | 54 |
| 53 void updateRecursive(DeprecatedPaintLayer*, UpdateType, AncestorInfo); | 55 void updateRecursive(DeprecatedPaintLayer*, UpdateType, AncestorInfo); |
| 54 | 56 |
| 55 LayoutGeometryMap m_geometryMap; | 57 LayoutGeometryMap m_geometryMap; |
| 56 DeprecatedPaintLayer* m_rootLayer; | 58 DeprecatedPaintLayer* m_rootLayer; |
| 57 }; | 59 }; |
| 58 | 60 |
| 59 } // namespace blink | 61 } // namespace blink |
| 60 | 62 |
| 61 #endif // CompositingInputsUpdater_h | 63 #endif // CompositingInputsUpdater_h |
| OLD | NEW |