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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayerClipper.cpp

Issue 2730343003: Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: logic fix Created 3 years, 9 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 unified diff | Download patch
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
3 * reserved. 3 * reserved.
4 * 4 *
5 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 5 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
6 * 6 *
7 * Other contributors: 7 * Other contributors:
8 * Robert O'Callahan <roc+@cs.cmu.edu> 8 * Robert O'Callahan <roc+@cs.cmu.edu>
9 * David Baron <dbaron@fas.harvard.edu> 9 * David Baron <dbaron@fas.harvard.edu>
10 * Christian Biesinger <cbiesinger@web.de> 10 * Christian Biesinger <cbiesinger@web.de>
(...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after
580 580
581 return true; 581 return true;
582 } 582 }
583 583
584 ClipRects& PaintLayerClipper::paintingClipRects( 584 ClipRects& PaintLayerClipper::paintingClipRects(
585 const PaintLayer* rootLayer, 585 const PaintLayer* rootLayer,
586 ShouldRespectOverflowClipType respectOverflowClip, 586 ShouldRespectOverflowClipType respectOverflowClip,
587 const LayoutSize& subpixelAccumulation) const { 587 const LayoutSize& subpixelAccumulation) const {
588 DCHECK(!m_geometryMapper); 588 DCHECK(!m_geometryMapper);
589 ClipRectsContext context(rootLayer, PaintingClipRects, 589 ClipRectsContext context(rootLayer, PaintingClipRects,
590 IgnoreOverlayScrollbarSize, subpixelAccumulation); 590 IgnorePlatformOverlayScrollbarSize,
591 subpixelAccumulation);
591 if (respectOverflowClip == IgnoreOverflowClip) 592 if (respectOverflowClip == IgnoreOverflowClip)
592 context.setIgnoreOverflowClip(); 593 context.setIgnoreOverflowClip();
593 return getClipRects(context); 594 return getClipRects(context);
594 } 595 }
595 596
596 } // namespace blink 597 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698