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

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

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.h
diff --git a/third_party/WebKit/Source/core/paint/PaintLayer.h b/third_party/WebKit/Source/core/paint/PaintLayer.h
index e5e7200e30044e6bdf5d7a0861127060e6196aff..bb44d9feca2ba511708217188dab3044bf1632c3 100644
--- a/third_party/WebKit/Source/core/paint/PaintLayer.h
+++ b/third_party/WebKit/Source/core/paint/PaintLayer.h
@@ -875,7 +875,7 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
OverlayScrollbarClipBehavior = kIgnorePlatformOverlayScrollbarSize,
ShouldRespectOverflowClipType = kRespectOverflowClip,
const LayoutPoint* offset_from_root = 0,
- const LayoutSize& sub_pixel_accumulation = LayoutSize());
+ const LayoutSize& sub_pixel_accumulation = LayoutSize()) const;
void CollectFragments(
PaintLayerFragments&,
const PaintLayer* root_layer,
@@ -886,7 +886,7 @@ class CORE_EXPORT PaintLayer : public DisplayItemClient {
ShouldRespectOverflowClipType = kRespectOverflowClip,
const LayoutPoint* offset_from_root = 0,
const LayoutSize& sub_pixel_accumulation = LayoutSize(),
- const LayoutRect* layer_bounding_box = 0);
+ const LayoutRect* layer_bounding_box = 0) const;
LayoutPoint LayoutBoxLocation() const {
return GetLayoutObject().IsBox() ? ToLayoutBox(GetLayoutObject()).Location()
« no previous file with comments | « third_party/WebKit/Source/core/paint/LayerClipRecorder.cpp ('k') | third_party/WebKit/Source/core/paint/PaintLayer.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698