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/paint/LayerClipRecorder.h" | 5 #include "core/paint/LayerClipRecorder.h" |
6 | 6 |
7 #include "core/layout/LayoutTestHelper.h" | 7 #include "core/layout/LayoutTestHelper.h" |
8 #include "core/layout/LayoutView.h" | 8 #include "core/layout/LayoutView.h" |
9 #include "core/layout/compositing/PaintLayerCompositor.h" | 9 #include "core/layout/compositing/PaintLayerCompositor.h" |
10 #include "core/paint/LayoutObjectDrawingRecorder.h" | 10 #include "core/paint/LayoutObjectDrawingRecorder.h" |
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 { | 76 { |
77 rootPaintController().invalidateAll(); | 77 rootPaintController().invalidateAll(); |
78 GraphicsContext context(rootPaintController()); | 78 GraphicsContext context(rootPaintController()); |
79 EXPECT_EQ((size_t)0, rootPaintController().displayItemList().size()); | 79 EXPECT_EQ((size_t)0, rootPaintController().displayItemList().size()); |
80 | 80 |
81 drawEmptyClip(context, layoutView(), PaintPhaseForeground); | 81 drawEmptyClip(context, layoutView(), PaintPhaseForeground); |
82 rootPaintController().commitNewDisplayItems(); | 82 rootPaintController().commitNewDisplayItems(); |
83 EXPECT_EQ((size_t)0, rootPaintController().displayItemList().size()); | 83 EXPECT_EQ((size_t)0, rootPaintController().displayItemList().size()); |
84 } | 84 } |
85 | 85 |
86 } | 86 } // namespace |
87 } | 87 } // namespace blink |
OLD | NEW |