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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayer.h

Issue 2194273002: Fix border radius on composited children. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Switch to using the layer's offsetFromLayoutObject Created 4 years 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) 2003, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * Copyright (C) 2013 Intel Corporation. All rights reserved. 3 * Copyright (C) 2013 Intel Corporation. All rights 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 815 matching lines...) Expand 10 before | Expand all | Expand 10 after
826 826
827 bool hasSelfPaintingLayerDescendant() const { 827 bool hasSelfPaintingLayerDescendant() const {
828 if (m_hasSelfPaintingLayerDescendantDirty) 828 if (m_hasSelfPaintingLayerDescendantDirty)
829 updateHasSelfPaintingLayerDescendant(); 829 updateHasSelfPaintingLayerDescendant();
830 DCHECK(!m_hasSelfPaintingLayerDescendantDirty); 830 DCHECK(!m_hasSelfPaintingLayerDescendantDirty);
831 return m_hasSelfPaintingLayerDescendant; 831 return m_hasSelfPaintingLayerDescendant;
832 } 832 }
833 LayoutRect paintingExtent(const PaintLayer* rootLayer, 833 LayoutRect paintingExtent(const PaintLayer* rootLayer,
834 const LayoutSize& subPixelAccumulation, 834 const LayoutSize& subPixelAccumulation,
835 GlobalPaintFlags); 835 GlobalPaintFlags);
836
chrishtr 2016/12/02 19:21:47 Nit: spurious.
Stephen Chennney 2016/12/07 21:39:38 Done.
836 void appendSingleFragmentIgnoringPagination( 837 void appendSingleFragmentIgnoringPagination(
837 PaintLayerFragments&, 838 PaintLayerFragments&,
838 const PaintLayer* rootLayer, 839 const PaintLayer* rootLayer,
839 const LayoutRect& dirtyRect, 840 const LayoutRect& dirtyRect,
840 ClipRectsCacheSlot, 841 ClipRectsCacheSlot,
841 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize, 842 OverlayScrollbarClipBehavior = IgnoreOverlayScrollbarSize,
842 ShouldRespectOverflowClipType = RespectOverflowClip, 843 ShouldRespectOverflowClipType = RespectOverflowClip,
843 const LayoutPoint* offsetFromRoot = 0, 844 const LayoutPoint* offsetFromRoot = 0,
844 const LayoutSize& subPixelAccumulation = LayoutSize()); 845 const LayoutSize& subPixelAccumulation = LayoutSize());
845 void collectFragments( 846 void collectFragments(
(...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after
1232 1233
1233 } // namespace blink 1234 } // namespace blink
1234 1235
1235 #ifndef NDEBUG 1236 #ifndef NDEBUG
1236 // Outside the WebCore namespace for ease of invocation from gdb. 1237 // Outside the WebCore namespace for ease of invocation from gdb.
1237 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); 1238 CORE_EXPORT void showLayerTree(const blink::PaintLayer*);
1238 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); 1239 CORE_EXPORT void showLayerTree(const blink::LayoutObject*);
1239 #endif 1240 #endif
1240 1241
1241 #endif // Layer_h 1242 #endif // Layer_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698