| 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), m_rootLayer(rootLayer) {} | 20 : m_geometryMap(UseTransforms), m_rootLayer(rootLayer) {} |
| 21 | 21 |
| 22 CompositingInputsUpdater::~CompositingInputsUpdater() {} | 22 CompositingInputsUpdater::~CompositingInputsUpdater() {} |
| 23 | 23 |
| 24 void CompositingInputsUpdater::update() { | 24 void CompositingInputsUpdater::update() { |
| 25 TRACE_EVENT0("blink", "CompositingInputsUpdater::update"); | 25 TRACE_EVENT0("blink", "CompositingInputsUpdater::update"); |
| (...skipping 247 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 273 ASSERT(!layer->needsCompositingInputsUpdate()); | 273 ASSERT(!layer->needsCompositingInputsUpdate()); |
| 274 | 274 |
| 275 for (PaintLayer* child = layer->firstChild(); child; | 275 for (PaintLayer* child = layer->firstChild(); child; |
| 276 child = child->nextSibling()) | 276 child = child->nextSibling()) |
| 277 assertNeedsCompositingInputsUpdateBitsCleared(child); | 277 assertNeedsCompositingInputsUpdateBitsCleared(child); |
| 278 } | 278 } |
| 279 | 279 |
| 280 #endif | 280 #endif |
| 281 | 281 |
| 282 } // namespace blink | 282 } // namespace blink |
| OLD | NEW |