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

Unified Diff: Source/core/rendering/RenderLayerClipper.cpp

Issue 345463010: Delete odd assignment of IgnoreOverlayScrollbarSize (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698