| 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 24 matching lines...) Expand all Loading... |
| 35 #include "core/rendering/svg/SVGRenderSupport.h" | 35 #include "core/rendering/svg/SVGRenderSupport.h" |
| 36 #include "core/rendering/svg/SVGRenderingContext.h" | 36 #include "core/rendering/svg/SVGRenderingContext.h" |
| 37 #include "core/rendering/svg/SVGResources.h" | 37 #include "core/rendering/svg/SVGResources.h" |
| 38 #include "core/rendering/svg/SVGResourcesCache.h" | 38 #include "core/rendering/svg/SVGResourcesCache.h" |
| 39 #include "core/svg/SVGElement.h" | 39 #include "core/svg/SVGElement.h" |
| 40 #include "core/svg/SVGSVGElement.h" | 40 #include "core/svg/SVGSVGElement.h" |
| 41 #include "core/svg/graphics/SVGImage.h" | 41 #include "core/svg/graphics/SVGImage.h" |
| 42 #include "platform/LengthFunctions.h" | 42 #include "platform/LengthFunctions.h" |
| 43 #include "platform/graphics/GraphicsContext.h" | 43 #include "platform/graphics/GraphicsContext.h" |
| 44 | 44 |
| 45 using namespace std; | |
| 46 | |
| 47 namespace WebCore { | 45 namespace WebCore { |
| 48 | 46 |
| 49 RenderSVGRoot::RenderSVGRoot(SVGElement* node) | 47 RenderSVGRoot::RenderSVGRoot(SVGElement* node) |
| 50 : RenderReplaced(node) | 48 : RenderReplaced(node) |
| 51 , m_objectBoundingBoxValid(false) | 49 , m_objectBoundingBoxValid(false) |
| 52 , m_isLayoutSizeChanged(false) | 50 , m_isLayoutSizeChanged(false) |
| 53 , m_needsBoundariesOrTransformUpdate(true) | 51 , m_needsBoundariesOrTransformUpdate(true) |
| 54 , m_hasBoxDecorations(false) | 52 , m_hasBoxDecorations(false) |
| 55 { | 53 { |
| 56 } | 54 } |
| (...skipping 401 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 458 updateHitTestResult(result, pointInBorderBox); | 456 updateHitTestResult(result, pointInBorderBox); |
| 459 if (!result.addNodeToRectBasedTestResult(node(), request, locationIn
Container, boundsRect)) | 457 if (!result.addNodeToRectBasedTestResult(node(), request, locationIn
Container, boundsRect)) |
| 460 return true; | 458 return true; |
| 461 } | 459 } |
| 462 } | 460 } |
| 463 | 461 |
| 464 return false; | 462 return false; |
| 465 } | 463 } |
| 466 | 464 |
| 467 } | 465 } |
| OLD | NEW |