OLD | NEW |
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 3016 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3027 | 3027 |
3028 // Overlay scrollbars can make this layer self-painting so we need | 3028 // Overlay scrollbars can make this layer self-painting so we need |
3029 // to recompute the bit once scrollbars have been updated. | 3029 // to recompute the bit once scrollbars have been updated. |
3030 updateSelfPaintingLayer(); | 3030 updateSelfPaintingLayer(); |
3031 | 3031 |
3032 updateTransform(oldStyle, layoutObject()->styleRef()); | 3032 updateTransform(oldStyle, layoutObject()->styleRef()); |
3033 updateFilters(oldStyle, layoutObject()->styleRef()); | 3033 updateFilters(oldStyle, layoutObject()->styleRef()); |
3034 updateClipPath(oldStyle, layoutObject()->styleRef()); | 3034 updateClipPath(oldStyle, layoutObject()->styleRef()); |
3035 | 3035 |
3036 setNeedsCompositingInputsUpdate(); | 3036 setNeedsCompositingInputsUpdate(); |
| 3037 layoutObject()->setNeedsPaintPropertyUpdate(); |
3037 } | 3038 } |
3038 | 3039 |
3039 bool PaintLayer::scrollsOverflow() const { | 3040 bool PaintLayer::scrollsOverflow() const { |
3040 if (PaintLayerScrollableArea* scrollableArea = this->getScrollableArea()) | 3041 if (PaintLayerScrollableArea* scrollableArea = this->getScrollableArea()) |
3041 return scrollableArea->scrollsOverflow(); | 3042 return scrollableArea->scrollsOverflow(); |
3042 | 3043 |
3043 return false; | 3044 return false; |
3044 } | 3045 } |
3045 | 3046 |
3046 FilterOperations PaintLayer::addReflectionToFilterOperations( | 3047 FilterOperations PaintLayer::addReflectionToFilterOperations( |
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3288 } | 3289 } |
3289 | 3290 |
3290 void showLayerTree(const blink::LayoutObject* layoutObject) { | 3291 void showLayerTree(const blink::LayoutObject* layoutObject) { |
3291 if (!layoutObject) { | 3292 if (!layoutObject) { |
3292 LOG(INFO) << "Cannot showLayerTree. Root is (nil)"; | 3293 LOG(INFO) << "Cannot showLayerTree. Root is (nil)"; |
3293 return; | 3294 return; |
3294 } | 3295 } |
3295 showLayerTree(layoutObject->enclosingLayer()); | 3296 showLayerTree(layoutObject->enclosingLayer()); |
3296 } | 3297 } |
3297 #endif | 3298 #endif |
OLD | NEW |