| 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 3278 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3289 { | 3289 { |
| 3290 ASSERT_NOT_REACHED(); | 3290 ASSERT_NOT_REACHED(); |
| 3291 return false; | 3291 return false; |
| 3292 } | 3292 } |
| 3293 | 3293 |
| 3294 bool RenderObject::isRelayoutBoundaryForInspector() const | 3294 bool RenderObject::isRelayoutBoundaryForInspector() const |
| 3295 { | 3295 { |
| 3296 return objectIsRelayoutBoundary(this); | 3296 return objectIsRelayoutBoundary(this); |
| 3297 } | 3297 } |
| 3298 | 3298 |
| 3299 void RenderObject::updateShouldDoFullRepaintAfterLayout() |
| 3300 { |
| 3301 if ((onlyNeededPositionedMovementLayout() && compositingState() != PaintsInt
oOwnBacking) |
| 3302 || (shouldDoFullRepaintIfSelfPaintingLayer() |
| 3303 && hasLayer() |
| 3304 && toRenderLayerModelObject(this)->layer()->isSelfPaintingLayer()))
{ |
| 3305 setShouldDoFullRepaintAfterLayout(true); |
| 3306 } |
| 3307 } |
| 3308 |
| 3299 void RenderObject::clearRepaintState() | 3309 void RenderObject::clearRepaintState() |
| 3300 { | 3310 { |
| 3301 setShouldDoFullRepaintAfterLayout(false); | 3311 setShouldDoFullRepaintAfterLayout(false); |
| 3302 setShouldDoFullRepaintIfSelfPaintingLayer(false); | 3312 setShouldDoFullRepaintIfSelfPaintingLayer(false); |
| 3303 setShouldRepaintOverflow(false); | 3313 setShouldRepaintOverflow(false); |
| 3304 setLayoutDidGetCalled(false); | 3314 setLayoutDidGetCalled(false); |
| 3305 } | 3315 } |
| 3306 | 3316 |
| 3307 } // namespace WebCore | 3317 } // namespace WebCore |
| 3308 | 3318 |
| (...skipping 20 matching lines...) Expand all Loading... |
| 3329 { | 3339 { |
| 3330 if (object1) { | 3340 if (object1) { |
| 3331 const WebCore::RenderObject* root = object1; | 3341 const WebCore::RenderObject* root = object1; |
| 3332 while (root->parent()) | 3342 while (root->parent()) |
| 3333 root = root->parent(); | 3343 root = root->parent(); |
| 3334 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); | 3344 root->showRenderTreeAndMark(object1, "*", object2, "-", 0); |
| 3335 } | 3345 } |
| 3336 } | 3346 } |
| 3337 | 3347 |
| 3338 #endif | 3348 #endif |
| OLD | NEW |