Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(269)

Unified Diff: third_party/WebKit/Source/core/paint/PaintLayer.cpp

Issue 2923683002: Fix nested border radius with composited child. (Closed)
Patch Set: Split tests, check layer sizes, document Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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 fe4f6c4af9e02aaa54b603a883648d69e036af39..a0c10bbbad8322f7db12c6e0e3f353fcc47ab8c8 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.cpp
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.cpp
@@ -1591,7 +1591,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,
@@ -1622,7 +1622,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() ||
« no previous file with comments | « third_party/WebKit/Source/core/paint/PaintLayer.h ('k') | third_party/WebKit/Source/core/paint/PaintLayerPainter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698