Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(387)

Side by Side Diff: Source/core/rendering/svg/RenderSVGRoot.cpp

Issue 21042009: [SVG2] Merge SVGStyledElement into SVGElement (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Rebase on master Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 20 matching lines...) Expand all
31 #include "core/page/Page.h" 31 #include "core/page/Page.h"
32 #include "core/platform/graphics/GraphicsContext.h" 32 #include "core/platform/graphics/GraphicsContext.h"
33 #include "core/rendering/HitTestResult.h" 33 #include "core/rendering/HitTestResult.h"
34 #include "core/rendering/LayoutRepainter.h" 34 #include "core/rendering/LayoutRepainter.h"
35 #include "core/rendering/RenderPart.h" 35 #include "core/rendering/RenderPart.h"
36 #include "core/rendering/RenderView.h" 36 #include "core/rendering/RenderView.h"
37 #include "core/rendering/svg/RenderSVGResourceContainer.h" 37 #include "core/rendering/svg/RenderSVGResourceContainer.h"
38 #include "core/rendering/svg/SVGRenderingContext.h" 38 #include "core/rendering/svg/SVGRenderingContext.h"
39 #include "core/rendering/svg/SVGResources.h" 39 #include "core/rendering/svg/SVGResources.h"
40 #include "core/rendering/svg/SVGResourcesCache.h" 40 #include "core/rendering/svg/SVGResourcesCache.h"
41 #include "core/svg/SVGElement.h"
41 #include "core/svg/SVGSVGElement.h" 42 #include "core/svg/SVGSVGElement.h"
42 #include "core/svg/SVGStyledElement.h"
43 43
44 using namespace std; 44 using namespace std;
45 45
46 namespace WebCore { 46 namespace WebCore {
47 47
48 RenderSVGRoot::RenderSVGRoot(SVGStyledElement* node) 48 RenderSVGRoot::RenderSVGRoot(SVGElement* node)
49 : RenderReplaced(node) 49 : RenderReplaced(node)
50 , m_objectBoundingBoxValid(false) 50 , m_objectBoundingBoxValid(false)
51 , m_isLayoutSizeChanged(false) 51 , m_isLayoutSizeChanged(false)
52 , m_needsBoundariesOrTransformUpdate(true) 52 , m_needsBoundariesOrTransformUpdate(true)
53 { 53 {
54 } 54 }
55 55
56 RenderSVGRoot::~RenderSVGRoot() 56 RenderSVGRoot::~RenderSVGRoot()
57 { 57 {
58 } 58 }
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after
482 { 482 {
483 RenderObject* svgRoot = resource->parent(); 483 RenderObject* svgRoot = resource->parent();
484 while (svgRoot && !svgRoot->isSVGRoot()) 484 while (svgRoot && !svgRoot->isSVGRoot())
485 svgRoot = svgRoot->parent(); 485 svgRoot = svgRoot->parent();
486 if (!svgRoot) 486 if (!svgRoot)
487 return; 487 return;
488 toRenderSVGRoot(svgRoot)->m_resourcesNeedingToInvalidateClients.add(resource ); 488 toRenderSVGRoot(svgRoot)->m_resourcesNeedingToInvalidateClients.add(resource );
489 } 489 }
490 490
491 } 491 }
OLDNEW
« no previous file with comments | « Source/core/rendering/svg/RenderSVGRoot.h ('k') | Source/core/rendering/svg/RenderSVGViewportContainer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698