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

Side by Side Diff: Source/core/svg/SVGDocumentExtensions.cpp

Issue 1296353004: Store SVGResourcesCache inline in SVGDocumentExtensions (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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
« no previous file with comments | « Source/core/svg/SVGDocumentExtensions.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2006 Apple Inc. All rights reserved. 2 * Copyright (C) 2006 Apple Inc. All rights reserved.
3 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org> 3 * Copyright (C) 2006 Nikolas Zimmermann <zimmermann@kde.org>
4 * Copyright (C) 2007 Rob Buis <buis@kde.org> 4 * Copyright (C) 2007 Rob Buis <buis@kde.org>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 16 matching lines...) Expand all
27 #include "core/layout/svg/SVGResourcesCache.h" 27 #include "core/layout/svg/SVGResourcesCache.h"
28 #include "core/svg/SVGSVGElement.h" 28 #include "core/svg/SVGSVGElement.h"
29 #include "core/svg/animation/SMILTimeContainer.h" 29 #include "core/svg/animation/SMILTimeContainer.h"
30 #include "wtf/TemporaryChange.h" 30 #include "wtf/TemporaryChange.h"
31 #include "wtf/text/AtomicString.h" 31 #include "wtf/text/AtomicString.h"
32 32
33 namespace blink { 33 namespace blink {
34 34
35 SVGDocumentExtensions::SVGDocumentExtensions(Document* document) 35 SVGDocumentExtensions::SVGDocumentExtensions(Document* document)
36 : m_document(document) 36 : m_document(document)
37 , m_resourcesCache(adoptPtr(new SVGResourcesCache))
38 #if ENABLE(ASSERT) 37 #if ENABLE(ASSERT)
39 , m_inRelativeLengthSVGRootsInvalidation(false) 38 , m_inRelativeLengthSVGRootsInvalidation(false)
40 #endif 39 #endif
41 { 40 {
42 } 41 }
43 42
44 SVGDocumentExtensions::~SVGDocumentExtensions() 43 SVGDocumentExtensions::~SVGDocumentExtensions()
45 { 44 {
46 } 45 }
47 46
(...skipping 309 matching lines...) Expand 10 before | Expand all | Expand 10 after
357 #if ENABLE(OILPAN) 356 #if ENABLE(OILPAN)
358 visitor->trace(m_document); 357 visitor->trace(m_document);
359 visitor->trace(m_timeContainers); 358 visitor->trace(m_timeContainers);
360 visitor->trace(m_relativeLengthSVGRoots); 359 visitor->trace(m_relativeLengthSVGRoots);
361 visitor->trace(m_pendingResources); 360 visitor->trace(m_pendingResources);
362 visitor->trace(m_pendingResourcesForRemoval); 361 visitor->trace(m_pendingResourcesForRemoval);
363 #endif 362 #endif
364 } 363 }
365 364
366 } 365 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGDocumentExtensions.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698