| 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. | 6 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2011 Apple Inc. |
| 7 * All rights reserved. | 7 * All rights reserved. |
| 8 * Copyright (C) 2009 Google Inc. All rights reserved. | 8 * Copyright (C) 2009 Google Inc. All rights reserved. |
| 9 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. | 9 * Copyright (C) 2009 Torch Mobile Inc. All rights reserved. |
| 10 * (http://www.torchmobile.com/) | 10 * (http://www.torchmobile.com/) |
| (...skipping 3376 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3387 } | 3387 } |
| 3388 | 3388 |
| 3389 void LayoutObject::setMayNeedPaintInvalidationAnimatedBackgroundImage() { | 3389 void LayoutObject::setMayNeedPaintInvalidationAnimatedBackgroundImage() { |
| 3390 if (mayNeedPaintInvalidationAnimatedBackgroundImage()) | 3390 if (mayNeedPaintInvalidationAnimatedBackgroundImage()) |
| 3391 return; | 3391 return; |
| 3392 m_bitfields.setMayNeedPaintInvalidationAnimatedBackgroundImage(true); | 3392 m_bitfields.setMayNeedPaintInvalidationAnimatedBackgroundImage(true); |
| 3393 setMayNeedPaintInvalidation(); | 3393 setMayNeedPaintInvalidation(); |
| 3394 } | 3394 } |
| 3395 | 3395 |
| 3396 void LayoutObject::clearPaintInvalidationFlags() { | 3396 void LayoutObject::clearPaintInvalidationFlags() { |
| 3397 // paintInvalidationStateIsDirty should be kept in sync with the | 3397 // paintInvalidationStateIsDirty should be kept in sync with the |
| 3398 // booleans that are cleared below. | 3398 // booleans that are cleared below. |
| 3399 #if DCHECK_IS_ON() | 3399 #if DCHECK_IS_ON() |
| 3400 DCHECK(!shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() || | 3400 DCHECK(!shouldCheckForPaintInvalidationRegardlessOfPaintInvalidationState() || |
| 3401 paintInvalidationStateIsDirty()); | 3401 paintInvalidationStateIsDirty()); |
| 3402 #endif | 3402 #endif |
| 3403 clearShouldDoFullPaintInvalidation(); | 3403 clearShouldDoFullPaintInvalidation(); |
| 3404 m_bitfields.setChildShouldCheckForPaintInvalidation(false); | 3404 m_bitfields.setChildShouldCheckForPaintInvalidation(false); |
| 3405 m_bitfields.setMayNeedPaintInvalidation(false); | 3405 m_bitfields.setMayNeedPaintInvalidation(false); |
| 3406 m_bitfields.setMayNeedPaintInvalidationSubtree(false); | 3406 m_bitfields.setMayNeedPaintInvalidationSubtree(false); |
| 3407 m_bitfields.setMayNeedPaintInvalidationAnimatedBackgroundImage(false); | 3407 m_bitfields.setMayNeedPaintInvalidationAnimatedBackgroundImage(false); |
| 3408 m_bitfields.setShouldInvalidateSelection(false); | 3408 m_bitfields.setShouldInvalidateSelection(false); |
| (...skipping 86 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3495 const blink::LayoutObject* root = object1; | 3495 const blink::LayoutObject* root = object1; |
| 3496 while (root->parent()) | 3496 while (root->parent()) |
| 3497 root = root->parent(); | 3497 root = root->parent(); |
| 3498 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); | 3498 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); |
| 3499 } else { | 3499 } else { |
| 3500 WTFLogAlways("%s", "Cannot showLayoutTree. Root is (nil)"); | 3500 WTFLogAlways("%s", "Cannot showLayoutTree. Root is (nil)"); |
| 3501 } | 3501 } |
| 3502 } | 3502 } |
| 3503 | 3503 |
| 3504 #endif | 3504 #endif |
| OLD | NEW |