Chromium Code Reviews| Index: Source/core/rendering/RenderLayerClipper.cpp |
| diff --git a/Source/core/rendering/RenderLayerClipper.cpp b/Source/core/rendering/RenderLayerClipper.cpp |
| index a89a946480b93796b8479121d8da109f6cb6b2e4..653513654abdbaef80200bdc22f8ca6586ccfba3 100644 |
| --- a/Source/core/rendering/RenderLayerClipper.cpp |
| +++ b/Source/core/rendering/RenderLayerClipper.cpp |
| @@ -244,9 +244,7 @@ void RenderLayerClipper::calculateClipRects(const ClipRectsContext& context, Cli |
| if (context.usesCache() && parentLayer->clipper().cachedClipRects(context)) { |
| clipRects = *parentLayer->clipper().cachedClipRects(context); |
| } else { |
| - ClipRectsContext parentContext(context); |
| - parentContext.scrollbarRelevancy = IgnoreOverlayScrollbarSize; // FIXME: why? |
|
chrishtr
2014/06/27 22:00:29
Does IgnoreOverlayScrollbarSize ever do anything h
|
| - parentLayer->clipper().calculateClipRects(parentContext, clipRects); |
| + parentLayer->clipper().calculateClipRects(context, clipRects); |
| } |
| } else { |
| clipRects.reset(PaintInfo::infiniteRect()); |