| 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 "config.h" | 5 #include "config.h" |
| 6 #include "core/rendering/compositing/CompositingReasonFinder.h" | 6 #include "core/rendering/compositing/CompositingReasonFinder.h" |
| 7 | 7 |
| 8 #include "core/dom/Document.h" |
| 8 #include "core/frame/FrameView.h" | 9 #include "core/frame/FrameView.h" |
| 9 #include "core/frame/Settings.h" | 10 #include "core/frame/Settings.h" |
| 10 #include "core/page/Page.h" | 11 #include "core/page/Page.h" |
| 11 #include "core/rendering/RenderView.h" | 12 #include "core/rendering/RenderView.h" |
| 12 #include "core/rendering/compositing/RenderLayerCompositor.h" | 13 #include "core/rendering/compositing/RenderLayerCompositor.h" |
| 13 | 14 |
| 14 namespace WebCore { | 15 namespace WebCore { |
| 15 | 16 |
| 16 CompositingReasonFinder::CompositingReasonFinder(RenderView& renderView) | 17 CompositingReasonFinder::CompositingReasonFinder(RenderView& renderView) |
| 17 : m_renderView(renderView) | 18 : m_renderView(renderView) |
| (...skipping 237 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 if (viewportConstrainedNotCompositedReason) | 256 if (viewportConstrainedNotCompositedReason) |
| 256 *viewportConstrainedNotCompositedReason = RenderLayer::NotCompos
itedForBoundsOutOfView; | 257 *viewportConstrainedNotCompositedReason = RenderLayer::NotCompos
itedForBoundsOutOfView; |
| 257 return false; | 258 return false; |
| 258 } | 259 } |
| 259 } | 260 } |
| 260 | 261 |
| 261 return true; | 262 return true; |
| 262 } | 263 } |
| 263 | 264 |
| 264 } | 265 } |
| OLD | NEW |