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) 2000 Dirk Mueller (mueller@kde.org) | 4 * (C) 2000 Dirk Mueller (mueller@kde.org) |
5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) | 5 * (C) 2004 Allan Sandfeld Jensen (kde@carewolf.com) |
6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. All rights reserv
ed. |
7 * Copyright (C) 2009 Google Inc. All rights reserved. | 7 * Copyright (C) 2009 Google Inc. All rights reserved. |
8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 8 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
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 3377 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3388 return false; | 3388 return false; |
3389 } | 3389 } |
3390 | 3390 |
3391 bool RenderObject::isRelayoutBoundaryForInspector() const | 3391 bool RenderObject::isRelayoutBoundaryForInspector() const |
3392 { | 3392 { |
3393 return objectIsRelayoutBoundary(this); | 3393 return objectIsRelayoutBoundary(this); |
3394 } | 3394 } |
3395 | 3395 |
3396 void RenderObject::clearPaintInvalidationState() | 3396 void RenderObject::clearPaintInvalidationState() |
3397 { | 3397 { |
| 3398 // paintInvalidationStateIsDirty should be kept in sync with the |
| 3399 // booleans that are cleared below. |
| 3400 ASSERT(paintInvalidationStateIsDirty()); |
3398 setShouldDoFullPaintInvalidation(false); | 3401 setShouldDoFullPaintInvalidation(false); |
3399 setShouldDoFullPaintInvalidationIfSelfPaintingLayer(false); | 3402 setShouldDoFullPaintInvalidationIfSelfPaintingLayer(false); |
3400 setOnlyNeededPositionedMovementLayout(false); | 3403 setOnlyNeededPositionedMovementLayout(false); |
3401 setNeededLayoutBecauseOfChildren(false); | 3404 setNeededLayoutBecauseOfChildren(false); |
3402 setShouldInvalidateOverflowForPaint(false); | 3405 setShouldInvalidateOverflowForPaint(false); |
3403 setLayoutDidGetCalled(false); | 3406 setLayoutDidGetCalled(false); |
3404 setMayNeedPaintInvalidation(false); | 3407 setMayNeedPaintInvalidation(false); |
3405 } | 3408 } |
3406 | 3409 |
3407 bool RenderObject::isAllowedToModifyRenderTreeStructure(Document& document) | 3410 bool RenderObject::isAllowedToModifyRenderTreeStructure(Document& document) |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3445 { | 3448 { |
3446 if (object1) { | 3449 if (object1) { |
3447 const blink::RenderObject* root = object1; | 3450 const blink::RenderObject* root = object1; |
3448 while (root->parent()) | 3451 while (root->parent()) |
3449 root = root->parent(); | 3452 root = root->parent(); |
3450 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); | 3453 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); |
3451 } | 3454 } |
3452 } | 3455 } |
3453 | 3456 |
3454 #endif | 3457 #endif |
OLD | NEW |