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 3112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3123 } | 3123 } |
3124 | 3124 |
3125 void LayoutObject::setMayNeedPaintInvalidationSubtree() | 3125 void LayoutObject::setMayNeedPaintInvalidationSubtree() |
3126 { | 3126 { |
3127 if (mayNeedPaintInvalidationSubtree()) | 3127 if (mayNeedPaintInvalidationSubtree()) |
3128 return; | 3128 return; |
3129 m_bitfields.setMayNeedPaintInvalidationSubtree(true); | 3129 m_bitfields.setMayNeedPaintInvalidationSubtree(true); |
3130 setMayNeedPaintInvalidation(); | 3130 setMayNeedPaintInvalidation(); |
3131 } | 3131 } |
3132 | 3132 |
3133 void LayoutObject::setMayNeedPaintInvalidationAnimatgedBackgroundImage() | 3133 void LayoutObject::setMayNeedPaintInvalidationAnimatedBackgroundImage() |
3134 { | 3134 { |
3135 if (mayNeedPaintInvalidationAnimatedBackgroundImage()) | 3135 if (mayNeedPaintInvalidationAnimatedBackgroundImage()) |
3136 return; | 3136 return; |
3137 m_bitfields.setMayNeedPaintInvalidationAnimatedBackgroundImage(true); | 3137 m_bitfields.setMayNeedPaintInvalidationAnimatedBackgroundImage(true); |
3138 setMayNeedPaintInvalidation(); | 3138 setMayNeedPaintInvalidation(); |
3139 } | 3139 } |
3140 | 3140 |
3141 void LayoutObject::clearPaintInvalidationFlags() | 3141 void LayoutObject::clearPaintInvalidationFlags() |
3142 { | 3142 { |
3143 // paintInvalidationStateIsDirty should be kept in sync with the | 3143 // paintInvalidationStateIsDirty should be kept in sync with the |
(...skipping 89 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
3233 const blink::LayoutObject* root = object1; | 3233 const blink::LayoutObject* root = object1; |
3234 while (root->parent()) | 3234 while (root->parent()) |
3235 root = root->parent(); | 3235 root = root->parent(); |
3236 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); | 3236 root->showLayoutTreeAndMark(object1, "*", object2, "-", 0); |
3237 } else { | 3237 } else { |
3238 WTFLogAlways("%s", "Cannot showLayoutTree. Root is (nil)"); | 3238 WTFLogAlways("%s", "Cannot showLayoutTree. Root is (nil)"); |
3239 } | 3239 } |
3240 } | 3240 } |
3241 | 3241 |
3242 #endif | 3242 #endif |
OLD | NEW |