OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2011, 2012 Apple Inc. All rights
reserved. |
3 * | 3 * |
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. | 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. |
5 * | 5 * |
6 * Other contributors: | 6 * Other contributors: |
7 * Robert O'Callahan <roc+@cs.cmu.edu> | 7 * Robert O'Callahan <roc+@cs.cmu.edu> |
8 * David Baron <dbaron@fas.harvard.edu> | 8 * David Baron <dbaron@fas.harvard.edu> |
9 * Christian Biesinger <cbiesinger@web.de> | 9 * Christian Biesinger <cbiesinger@web.de> |
10 * Randall Jesup <rjesup@wgate.com> | 10 * Randall Jesup <rjesup@wgate.com> |
(...skipping 1914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1925 if (!depthSortDescendants) | 1925 if (!depthSortDescendants) |
1926 break; | 1926 break; |
1927 } | 1927 } |
1928 } | 1928 } |
1929 | 1929 |
1930 return resultLayer; | 1930 return resultLayer; |
1931 } | 1931 } |
1932 | 1932 |
1933 void DeprecatedPaintLayer::blockSelectionGapsBoundsChanged() | 1933 void DeprecatedPaintLayer::blockSelectionGapsBoundsChanged() |
1934 { | 1934 { |
| 1935 if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) |
| 1936 return; |
| 1937 |
1935 setNeedsCompositingInputsUpdate(); | 1938 setNeedsCompositingInputsUpdate(); |
1936 } | 1939 } |
1937 | 1940 |
1938 void DeprecatedPaintLayer::addBlockSelectionGapsBounds(const LayoutRect& bounds) | 1941 void DeprecatedPaintLayer::addBlockSelectionGapsBounds(const LayoutRect& bounds) |
1939 { | 1942 { |
1940 if (RuntimeEnabledFeatures::selectionPaintingWithoutSelectionGapsEnabled()) | 1943 if (RuntimeEnabledFeatures::selectionPaintingWithoutSelectionGapsEnabled()) |
1941 return; | 1944 return; |
1942 m_blockSelectionGapsBounds.unite(enclosingIntRect(bounds)); | 1945 m_blockSelectionGapsBounds.unite(enclosingIntRect(bounds)); |
1943 blockSelectionGapsBoundsChanged(); | 1946 blockSelectionGapsBoundsChanged(); |
1944 } | 1947 } |
(...skipping 726 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
2671 | 2674 |
2672 void showLayerTree(const blink::LayoutObject* layoutObject) | 2675 void showLayerTree(const blink::LayoutObject* layoutObject) |
2673 { | 2676 { |
2674 if (!layoutObject) { | 2677 if (!layoutObject) { |
2675 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); | 2678 fprintf(stderr, "Cannot showLayerTree. Root is (nil)\n"); |
2676 return; | 2679 return; |
2677 } | 2680 } |
2678 showLayerTree(layoutObject->enclosingLayer()); | 2681 showLayerTree(layoutObject->enclosingLayer()); |
2679 } | 2682 } |
2680 #endif | 2683 #endif |
OLD | NEW |