| OLD | NEW |
| 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 908 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 919 // subsequence when painting a PaintLayer. | 919 // subsequence when painting a PaintLayer. |
| 920 | 920 |
| 921 IntSize PreviousScrollOffsetAccumulationForPainting() const { | 921 IntSize PreviousScrollOffsetAccumulationForPainting() const { |
| 922 return previous_scroll_offset_accumulation_for_painting_; | 922 return previous_scroll_offset_accumulation_for_painting_; |
| 923 } | 923 } |
| 924 void SetPreviousScrollOffsetAccumulationForPainting(const IntSize& s) { | 924 void SetPreviousScrollOffsetAccumulationForPainting(const IntSize& s) { |
| 925 previous_scroll_offset_accumulation_for_painting_ = s; | 925 previous_scroll_offset_accumulation_for_painting_ = s; |
| 926 } | 926 } |
| 927 | 927 |
| 928 ClipRects* PreviousPaintingClipRects() const { | 928 ClipRects* PreviousPaintingClipRects() const { |
| 929 DCHECK(!RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()); |
| 929 return previous_painting_clip_rects_.Get(); | 930 return previous_painting_clip_rects_.Get(); |
| 930 } | 931 } |
| 931 void SetPreviousPaintingClipRects(ClipRects& clip_rects) { | 932 void SetPreviousPaintingClipRects(ClipRects& clip_rects) { |
| 932 previous_painting_clip_rects_ = &clip_rects; | 933 previous_painting_clip_rects_ = &clip_rects; |
| 933 } | 934 } |
| 934 void ClearPreviousPaintingClipRects() { | 935 void ClearPreviousPaintingClipRects() { |
| 935 previous_painting_clip_rects_.Clear(); | 936 previous_painting_clip_rects_.Clear(); |
| 936 } | 937 } |
| 937 | 938 |
| 938 LayoutRect PreviousPaintDirtyRect() const { | 939 LayoutRect PreviousPaintDirtyRect() const { |
| (...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1278 | 1279 |
| 1279 } // namespace blink | 1280 } // namespace blink |
| 1280 | 1281 |
| 1281 #ifndef NDEBUG | 1282 #ifndef NDEBUG |
| 1282 // Outside the WebCore namespace for ease of invocation from gdb. | 1283 // Outside the WebCore namespace for ease of invocation from gdb. |
| 1283 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); | 1284 CORE_EXPORT void showLayerTree(const blink::PaintLayer*); |
| 1284 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); | 1285 CORE_EXPORT void showLayerTree(const blink::LayoutObject*); |
| 1285 #endif | 1286 #endif |
| 1286 | 1287 |
| 1287 #endif // Layer_h | 1288 #endif // Layer_h |
| OLD | NEW |