| Index: third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.cpp b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| index a1b946e245e29937a123a547d3ceaf9e23c9d85d..024ca9afacb87111c7f5f56b12a9e01397afe35c 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
| @@ -1589,7 +1589,7 @@ void PaintLayer::AppendSingleFragmentIgnoringPagination(
|
| OverlayScrollbarClipBehavior overlay_scrollbar_clip_behavior,
|
| ShouldRespectOverflowClipType respect_overflow_clip,
|
| const LayoutPoint* offset_from_root,
|
| - const LayoutSize& sub_pixel_accumulation) {
|
| + const LayoutSize& sub_pixel_accumulation) const {
|
| PaintLayerFragment fragment;
|
| ClipRectsContext clip_rects_context(root_layer, clip_rects_cache_slot,
|
| overlay_scrollbar_clip_behavior,
|
| @@ -1620,7 +1620,7 @@ void PaintLayer::CollectFragments(
|
| ShouldRespectOverflowClipType respect_overflow_clip,
|
| const LayoutPoint* offset_from_root,
|
| const LayoutSize& sub_pixel_accumulation,
|
| - const LayoutRect* layer_bounding_box) {
|
| + const LayoutRect* layer_bounding_box) const {
|
| // For unpaginated layers, there is only one fragment. We also avoid
|
| // fragmentation when compositing, due to implementation limitations.
|
| if (!EnclosingPaginationLayer() ||
|
|
|