| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2007, 2008, 2009 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007, 2008, 2009 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 5 * Copyright (C) 2009 Google, Inc. | 5 * Copyright (C) 2009 Google, Inc. |
| 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 287 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 DescendantIsolationState state) { | 298 DescendantIsolationState state) { |
| 299 switch (state) { | 299 switch (state) { |
| 300 case DescendantIsolationRequired: | 300 case DescendantIsolationRequired: |
| 301 m_hasNonIsolatedBlendingDescendants = true; | 301 m_hasNonIsolatedBlendingDescendants = true; |
| 302 m_hasNonIsolatedBlendingDescendantsDirty = false; | 302 m_hasNonIsolatedBlendingDescendantsDirty = false; |
| 303 break; | 303 break; |
| 304 case DescendantIsolationNeedsUpdate: | 304 case DescendantIsolationNeedsUpdate: |
| 305 m_hasNonIsolatedBlendingDescendantsDirty = true; | 305 m_hasNonIsolatedBlendingDescendantsDirty = true; |
| 306 break; | 306 break; |
| 307 } | 307 } |
| 308 if (RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled()) |
| 309 setNeedsPaintPropertyUpdate(); |
| 308 } | 310 } |
| 309 | 311 |
| 310 void LayoutSVGRoot::insertedIntoTree() { | 312 void LayoutSVGRoot::insertedIntoTree() { |
| 311 LayoutReplaced::insertedIntoTree(); | 313 LayoutReplaced::insertedIntoTree(); |
| 312 SVGResourcesCache::clientWasAddedToTree(this, styleRef()); | 314 SVGResourcesCache::clientWasAddedToTree(this, styleRef()); |
| 313 } | 315 } |
| 314 | 316 |
| 315 void LayoutSVGRoot::willBeRemovedFromTree() { | 317 void LayoutSVGRoot::willBeRemovedFromTree() { |
| 316 SVGResourcesCache::clientWillBeRemovedFromTree(this); | 318 SVGResourcesCache::clientWillBeRemovedFromTree(this); |
| 317 LayoutReplaced::willBeRemovedFromTree(); | 319 LayoutReplaced::willBeRemovedFromTree(); |
| (...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 481 if (result.addNodeToListBasedTestResult(node(), locationInContainer, | 483 if (result.addNodeToListBasedTestResult(node(), locationInContainer, |
| 482 boundsRect) == StopHitTesting) | 484 boundsRect) == StopHitTesting) |
| 483 return true; | 485 return true; |
| 484 } | 486 } |
| 485 } | 487 } |
| 486 | 488 |
| 487 return false; | 489 return false; |
| 488 } | 490 } |
| 489 | 491 |
| 490 } // namespace blink | 492 } // namespace blink |
| OLD | NEW |