| 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" |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 262 LayoutBlockFlow::updateAncestorShouldPaintFloatingObject( | 262 LayoutBlockFlow::updateAncestorShouldPaintFloatingObject( |
| 263 *layer->layoutBox()); | 263 *layer->layoutBox()); |
| 264 } | 264 } |
| 265 } | 265 } |
| 266 } | 266 } |
| 267 | 267 |
| 268 #if DCHECK_IS_ON() | 268 #if DCHECK_IS_ON() |
| 269 | 269 |
| 270 void CompositingInputsUpdater::assertNeedsCompositingInputsUpdateBitsCleared( | 270 void CompositingInputsUpdater::assertNeedsCompositingInputsUpdateBitsCleared( |
| 271 PaintLayer* layer) { | 271 PaintLayer* layer) { |
| 272 ASSERT(!layer->childNeedsCompositingInputsUpdate()); | 272 DCHECK(!layer->childNeedsCompositingInputsUpdate()); |
| 273 ASSERT(!layer->needsCompositingInputsUpdate()); | 273 DCHECK(!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 |