Changeset 148263 in webkit
- Timestamp:
- Apr 11, 2013 11:11:46 PM (11 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 1 added
- 10 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/CMakeLists.txt
r148197 r148263 1739 1739 loader/cache/CachedShader.cpp 1740 1740 loader/cache/CachedSVGDocument.cpp 1741 loader/cache/CachedSVGDocumentReference.cpp 1741 1742 loader/cache/CachedTextTrack.cpp 1742 1743 loader/cache/CachedXSLStyleSheet.cpp -
trunk/Source/WebCore/ChangeLog
r148262 r148263 1 2013-04-11 Alexey Proskuryakov <ap@apple.com> 2 3 Reduce includes of CachedSVGDocument.h 4 https://bugs.webkit.org/show_bug.cgi?id=114489 5 6 Reviewed by Jon Honeycutt. 7 8 * loader/cache/CachedSVGDocumentReference.cpp: Added. 9 * loader/cache/CachedSVGDocumentReference.h: 10 Moved function implementations to newly added .cpp file, and removed an include 11 of CachedSVGDocument.h. 12 13 * css/WebKitCSSSVGDocumentValue.h: Just removed an unnecessary include. 14 15 * CMakeLists.txt: 16 * GNUmakefile.list.am: 17 * Target.pri: 18 * WebCore.vcproj/WebCore.vcproj: 19 * WebCore.vcxproj/WebCore.vcxproj: 20 * WebCore.vcxproj/WebCore.vcxproj.filters: 21 * WebCore.xcodeproj/project.pbxproj: 22 1 23 2013-04-11 Commit Queue <rniwa@webkit.org> 2 24 -
trunk/Source/WebCore/GNUmakefile.list.am
r148256 r148263 4857 4857 Source/WebCore/loader/cache/CachedSVGDocument.h \ 4858 4858 Source/WebCore/loader/cache/CachedSVGDocumentClient.h \ 4859 Source/WebCore/loader/cache/CachedSVGDocumentReference.cpp \ 4859 4860 Source/WebCore/loader/cache/CachedSVGDocumentReference.h \ 4860 4861 Source/WebCore/platform/graphics/SVGGlyph.cpp \ -
trunk/Source/WebCore/Target.pri
r148256 r148263 859 859 loader/cache/CachedShader.cpp \ 860 860 loader/cache/CachedSVGDocument.cpp \ 861 loader/cache/CachedSVGDocument .h\861 loader/cache/CachedSVGDocumentReference.cpp \ 862 862 loader/cache/CachedXSLStyleSheet.cpp \ 863 863 loader/CookieJar.cpp \ -
trunk/Source/WebCore/WebCore.vcproj/WebCore.vcproj
r148256 r148263 28763 28763 </File> 28764 28764 <File 28765 RelativePath="..\loader\cache\CachedSVGDocumentReference.cpp" 28766 > 28767 </File> 28768 <File 28765 28769 RelativePath="..\loader\cache\CachedSVGDocumentReference.h" 28766 28770 > -
trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
r148256 r148263 4075 4075 <ClCompile Include="..\loader\cache\CachedShader.cpp" /> 4076 4076 <ClCompile Include="..\loader\cache\CachedSVGDocument.cpp" /> 4077 <ClCompile Include="..\loader\cache\CachedSVGDocumentReference.cpp" /> 4077 4078 <ClCompile Include="..\loader\cache\CachedTextTrack.cpp" /> 4078 4079 <ClCompile Include="..\loader\cache\CachedXSLStyleSheet.cpp" /> -
trunk/Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
r148256 r148263 2437 2437 <Filter>loader\cache</Filter> 2438 2438 </ClCompile> 2439 <ClCompile Include="..\loader\cache\CachedSVGDocumentReference.cpp"> 2440 <Filter>loader\cache</Filter> 2441 </ClCompile> 2439 2442 <ClCompile Include="..\loader\cache\CachedTextTrack.cpp"> 2440 2443 <Filter>loader\cache</Filter> -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r148257 r148263 5455 5455 E1B25107152A0BB00069B779 /* StylePropertyShorthand.h in Headers */ = {isa = PBXBuildFile; fileRef = E1B25105152A0BAF0069B779 /* StylePropertyShorthand.h */; }; 5456 5456 E1B4CD2510B322E200BFFD7E /* CredentialStorageMac.mm in Sources */ = {isa = PBXBuildFile; fileRef = E1B4CD2410B322E200BFFD7E /* CredentialStorageMac.mm */; }; 5457 E1B533471717D0A100F205F9 /* CachedSVGDocumentReference.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1B533461717D0A000F205F9 /* CachedSVGDocumentReference.cpp */; }; 5457 5458 E1B7839C163740A70007B692 /* SharedWorkerStrategy.h in Headers */ = {isa = PBXBuildFile; fileRef = E1B7839B163740A70007B692 /* SharedWorkerStrategy.h */; settings = {ATTRIBUTES = (Private, ); }; }; 5458 5459 E1B784201639CBBE0007B692 /* SharedWorkerRepository.cpp in Sources */ = {isa = PBXBuildFile; fileRef = E1B7841F1639CBBE0007B692 /* SharedWorkerRepository.cpp */; }; … … 12259 12260 E1B25105152A0BAF0069B779 /* StylePropertyShorthand.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = StylePropertyShorthand.h; sourceTree = "<group>"; }; 12260 12261 E1B4CD2410B322E200BFFD7E /* CredentialStorageMac.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = CredentialStorageMac.mm; sourceTree = "<group>"; }; 12262 E1B533461717D0A000F205F9 /* CachedSVGDocumentReference.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = CachedSVGDocumentReference.cpp; sourceTree = "<group>"; }; 12261 12263 E1B7839B163740A70007B692 /* SharedWorkerStrategy.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; name = SharedWorkerStrategy.h; path = workers/SharedWorkerStrategy.h; sourceTree = "<group>"; }; 12262 12264 E1B7841F1639CBBE0007B692 /* SharedWorkerRepository.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; name = SharedWorkerRepository.cpp; path = workers/SharedWorkerRepository.cpp; sourceTree = "<group>"; }; … … 17579 17581 A104F24214C71F7A009E2C23 /* CachedSVGDocument.h */, 17580 17582 1AEF4E68170E174800AB2799 /* CachedSVGDocumentClient.h */, 17583 E1B533461717D0A000F205F9 /* CachedSVGDocumentReference.cpp */, 17581 17584 FB2C15C2165D64900039C9F8 /* CachedSVGDocumentReference.h */, 17582 17585 0753860014489E9800B78452 /* CachedTextTrack.cpp */, … … 26999 27002 E180811616FCF9CB00B80D07 /* SynchronousLoaderClient.mm in Sources */, 27000 27003 E152551616FD2350003D7ADB /* WebCoreResourceHandleAsOperationQueueDelegate.mm in Sources */, 27004 E1B533471717D0A100F205F9 /* CachedSVGDocumentReference.cpp in Sources */, 27001 27005 ); 27002 27006 runOnlyForDeploymentPostprocessing = 0; -
trunk/Source/WebCore/css/WebKitCSSSVGDocumentValue.h
r144565 r148263 28 28 #include "CSSValue.h" 29 29 #include "CachedResourceHandle.h" 30 #include "CachedSVGDocument.h"31 30 32 31 namespace WebCore { 33 32 34 33 class CachedResourceLoader; 34 class CachedSVGDocument; 35 35 36 36 class WebKitCSSSVGDocumentValue : public CSSValue { -
trunk/Source/WebCore/loader/cache/CachedSVGDocumentReference.h
r147684 r148263 30 30 31 31 #include "CachedResourceHandle.h" 32 #include "CachedSVGDocument.h"33 32 #include "CachedSVGDocumentClient.h" 34 33 35 34 namespace WebCore { 36 35 36 class CachedSVGDocument; 37 37 38 class CachedSVGDocumentReference : public CachedSVGDocumentClient { 38 39 public: 39 CachedSVGDocumentReference(CachedSVGDocument* document) : m_document(document) { m_document->addClient(this); }40 virtual ~CachedSVGDocumentReference() { m_document->removeClient(this); }40 CachedSVGDocumentReference(CachedSVGDocument*); 41 virtual ~CachedSVGDocumentReference(); 41 42 CachedSVGDocument* document() { return m_document.get(); } 43 42 44 private: 43 45 CachedResourceHandle<CachedSVGDocument> m_document;
Note: See TracChangeset
for help on using the changeset viewer.