| 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 #include "core/layout/compositing/CompositingInputsUpdater.h" | 5 #include "core/layout/compositing/CompositingInputsUpdater.h" |
| 6 | 6 |
| 7 #include "core/dom/Document.h" | 7 #include "core/dom/Document.h" |
| 8 #include "core/frame/FrameView.h" | 8 #include "core/frame/FrameView.h" |
| 9 #include "core/layout/LayoutBlock.h" | 9 #include "core/layout/LayoutBlock.h" |
| 10 #include "core/layout/LayoutView.h" | 10 #include "core/layout/LayoutView.h" |
| 11 #include "core/layout/compositing/CompositedLayerMapping.h" | 11 #include "core/layout/compositing/CompositedLayerMapping.h" |
| 12 #include "core/layout/compositing/PaintLayerCompositor.h" | 12 #include "core/layout/compositing/PaintLayerCompositor.h" |
| 13 #include "core/page/scrolling/RootScrollerController.h" | 13 #include "core/page/scrolling/RootScrollerController.h" |
| 14 #include "core/paint/PaintLayer.h" | 14 #include "core/paint/PaintLayer.h" |
| 15 #include "platform/TraceEvent.h" | 15 #include "platform/tracing/TraceEvent.h" |
| 16 | 16 |
| 17 namespace blink { | 17 namespace blink { |
| 18 | 18 |
| 19 CompositingInputsUpdater::CompositingInputsUpdater(PaintLayer* rootLayer) | 19 CompositingInputsUpdater::CompositingInputsUpdater(PaintLayer* rootLayer) |
| 20 : m_geometryMap(UseTransforms) | 20 : m_geometryMap(UseTransforms) |
| 21 , m_rootLayer(rootLayer) | 21 , m_rootLayer(rootLayer) |
| 22 { | 22 { |
| 23 } | 23 } |
| 24 | 24 |
| 25 CompositingInputsUpdater::~CompositingInputsUpdater() | 25 CompositingInputsUpdater::~CompositingInputsUpdater() |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 ASSERT(!layer->childNeedsCompositingInputsUpdate()); | 219 ASSERT(!layer->childNeedsCompositingInputsUpdate()); |
| 220 ASSERT(!layer->needsCompositingInputsUpdate()); | 220 ASSERT(!layer->needsCompositingInputsUpdate()); |
| 221 | 221 |
| 222 for (PaintLayer* child = layer->firstChild(); child; child = child->nextSibl
ing()) | 222 for (PaintLayer* child = layer->firstChild(); child; child = child->nextSibl
ing()) |
| 223 assertNeedsCompositingInputsUpdateBitsCleared(child); | 223 assertNeedsCompositingInputsUpdateBitsCleared(child); |
| 224 } | 224 } |
| 225 | 225 |
| 226 #endif | 226 #endif |
| 227 | 227 |
| 228 } // namespace blink | 228 } // namespace blink |
| OLD | NEW |