| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) | 4 * (C) 2005 Allan Sandfeld Jensen (kde@carewolf.com) |
| 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) | 5 * (C) 2005, 2006 Samuel Weinig (sam.weinig@gmail.com) |
| 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. | 6 * Copyright (C) 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. |
| 7 * All rights reserved. | 7 * All rights reserved. |
| 8 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. | 8 * Copyright (C) 2013 Adobe Systems Incorporated. All rights reserved. |
| 9 * | 9 * |
| 10 * This library is free software; you can redistribute it and/or | 10 * This library is free software; you can redistribute it and/or |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 286 if (diff.needsPaintInvalidation()) { | 286 if (diff.needsPaintInvalidation()) { |
| 287 LayoutObject* parentToInvalidate = parent(); | 287 LayoutObject* parentToInvalidate = parent(); |
| 288 for (unsigned i = 0; | 288 for (unsigned i = 0; |
| 289 i < backgroundObscurationTestMaxDepth && parentToInvalidate; ++i) { | 289 i < backgroundObscurationTestMaxDepth && parentToInvalidate; ++i) { |
| 290 parentToInvalidate->invalidateBackgroundObscurationStatus(); | 290 parentToInvalidate->invalidateBackgroundObscurationStatus(); |
| 291 parentToInvalidate = parentToInvalidate->parent(); | 291 parentToInvalidate = parentToInvalidate->parent(); |
| 292 } | 292 } |
| 293 } | 293 } |
| 294 | 294 |
| 295 if (isDocumentElement() || isBody()) { | 295 if (isDocumentElement() || isBody()) { |
| 296 document().view()->recalculateScrollbarOverlayStyle( | 296 document().view()->recalculateScrollbarOverlayColorTheme( |
| 297 document().view()->documentBackgroundColor()); | 297 document().view()->documentBackgroundColor()); |
| 298 document().view()->recalculateCustomScrollbarStyle(); | 298 document().view()->recalculateCustomScrollbarStyle(); |
| 299 if (LayoutView* layoutView = view()) { | 299 if (LayoutView* layoutView = view()) { |
| 300 if (PaintLayerScrollableArea* scrollableArea = | 300 if (PaintLayerScrollableArea* scrollableArea = |
| 301 layoutView->getScrollableArea()) { | 301 layoutView->getScrollableArea()) { |
| 302 if (scrollableArea->horizontalScrollbar() && | 302 if (scrollableArea->horizontalScrollbar() && |
| 303 scrollableArea->horizontalScrollbar()->isCustomScrollbar()) | 303 scrollableArea->horizontalScrollbar()->isCustomScrollbar()) |
| 304 scrollableArea->horizontalScrollbar()->styleChanged(); | 304 scrollableArea->horizontalScrollbar()->styleChanged(); |
| 305 if (scrollableArea->verticalScrollbar() && | 305 if (scrollableArea->verticalScrollbar() && |
| 306 scrollableArea->verticalScrollbar()->isCustomScrollbar()) | 306 scrollableArea->verticalScrollbar()->isCustomScrollbar()) |
| (...skipping 5280 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 5587 LayoutRect rect = frameRect(); | 5587 LayoutRect rect = frameRect(); |
| 5588 | 5588 |
| 5589 LayoutBlock* block = containingBlock(); | 5589 LayoutBlock* block = containingBlock(); |
| 5590 if (block) | 5590 if (block) |
| 5591 block->adjustChildDebugRect(rect); | 5591 block->adjustChildDebugRect(rect); |
| 5592 | 5592 |
| 5593 return rect; | 5593 return rect; |
| 5594 } | 5594 } |
| 5595 | 5595 |
| 5596 } // namespace blink | 5596 } // namespace blink |
| OLD | NEW |