| Index: third_party/WebKit/Source/core/paint/PaintLayerClipper.h
|
| diff --git a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
|
| index 4f0addbb770ce5c24d7d403edd9a219debb260da..f37081d76ac03dffe458cc49048c418d1f16e7c1 100644
|
| --- a/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
|
| +++ b/third_party/WebKit/Source/core/paint/PaintLayerClipper.h
|
| @@ -191,8 +191,11 @@ class CORE_EXPORT PaintLayerClipper {
|
| ClipRect& output) const;
|
|
|
| // This method figures out our layerBounds in coordinates relative to
|
| - // |rootLayer|. It also computes our background and foreground clip rects
|
| + // |root_layer|. It also computes our background and foreground clip rects
|
| // for painting/event handling. Pass offsetFromRoot if known.
|
| + // If provided, |offset_from_root| is not changed and assumed to already
|
| + // include subpixel accumualation. Otherwise it is set to the offset from
|
| + // |layer_| to |root_layer|, plus |context.sub_pixel_accumuation|.
|
| void CalculateRects(const ClipRectsContext&,
|
| const LayoutRect& paint_dirty_rect,
|
| LayoutRect& layer_bounds,
|
| @@ -223,9 +226,6 @@ class CORE_EXPORT PaintLayerClipper {
|
| ALWAYS_INLINE void CalculateBackgroundClipRectWithGeometryMapper(
|
| const ClipRectsContext&,
|
| ClipRect& output) const;
|
| - ALWAYS_INLINE void CalculateForegroundClipRectWithGeometryMapper(
|
| - const ClipRectsContext&,
|
| - ClipRect& output) const;
|
|
|
| ALWAYS_INLINE void InitializeCommonClipRectState(
|
| const ClipRectsContext&,
|
|
|