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

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

Issue 2757533002: Fix overflow:overlay scrollbar width for paint. (Closed)
Patch Set: 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 570 matching lines...) Expand 10 before | Expand all | Expand 10 after
581 581
582 return true; 582 return true;
583 } 583 }
584 584
585 ClipRects& PaintLayerClipper::paintingClipRects( 585 ClipRects& PaintLayerClipper::paintingClipRects(
586 const PaintLayer* rootLayer, 586 const PaintLayer* rootLayer,
587 ShouldRespectOverflowClipType respectOverflowClip, 587 ShouldRespectOverflowClipType respectOverflowClip,
588 const LayoutSize& subpixelAccumulation) const { 588 const LayoutSize& subpixelAccumulation) const {
589 DCHECK(!m_geometryMapper); 589 DCHECK(!m_geometryMapper);
590 ClipRectsContext context(rootLayer, PaintingClipRects, 590 ClipRectsContext context(rootLayer, PaintingClipRects,
591 IgnoreOverlayScrollbarSize, subpixelAccumulation); 591 IgnorePlatformOverlayScrollbarSize,
592 subpixelAccumulation);
592 if (respectOverflowClip == IgnoreOverflowClip) 593 if (respectOverflowClip == IgnoreOverflowClip)
593 context.setIgnoreOverflowClip(); 594 context.setIgnoreOverflowClip();
594 return getClipRects(context); 595 return getClipRects(context);
595 } 596 }
596 597
597 } // namespace blink 598 } // namespace blink
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698