Changeset 140746 in webkit
- Timestamp:
- Jan 24, 2013 4:11:26 PM (11 years ago)
- Location:
- trunk/Source/WebKit2
- Files:
-
- 1 deleted
- 5 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebKit2/CMakeLists.txt
r140601 r140746 162 162 Shared/ShareableBitmap.cpp 163 163 Shared/StatisticsData.cpp 164 Shared/SurfaceUpdateInfo.cpp165 164 Shared/UpdateInfo.cpp 166 165 Shared/VisitedLinkTable.cpp -
trunk/Source/WebKit2/ChangeLog
r140743 r140746 1 2013-01-24 Jae Hyun Park <jae.park@company100.net> 2 3 Coordinated Graphics: remove SurfaceUpdateInfo::encode/decode 4 https://bugs.webkit.org/show_bug.cgi?id=107794 5 6 Reviewed by Anders Carlsson. 7 8 We want to remove the dependency on CoreIPC from SurfaceUpdateInfo 9 because we will extract Coordinated Graphics from WK2. Since 10 SurfaceUpdateInfo is only used in Coordinated Graphics, this patch 11 moves it to Shared/CoordinatedGraphics, and removes CoreIPC 12 dependency. 13 14 No new tests, no change in behavior. 15 16 * CMakeLists.txt: 17 * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp: 18 (CoreIPC::::encode): 19 (CoreIPC): 20 (CoreIPC::::decode): 21 * Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h: 22 (WebKit): 23 * Shared/CoordinatedGraphics/SurfaceUpdateInfo.h: Renamed from Source/WebKit2/Shared/SurfaceUpdateInfo.h. 24 (WebKit): 25 (SurfaceUpdateInfo): 26 (WebKit::SurfaceUpdateInfo::SurfaceUpdateInfo): 27 * Shared/SurfaceUpdateInfo.cpp: Removed. 28 * Target.pri: 29 1 30 2013-01-24 Anders Carlsson <andersca@apple.com> 2 31 -
trunk/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.cpp
r140601 r140746 31 31 #if USE(COORDINATED_GRAPHICS) 32 32 #include "CoordinatedLayerInfo.h" 33 #include "SurfaceUpdateInfo.h" 33 34 #include "WebCoreArgumentCoders.h" 34 35 #include <WebCore/Animation.h> … … 823 824 } 824 825 826 void ArgumentCoder<SurfaceUpdateInfo>::encode(ArgumentEncoder& encoder, const SurfaceUpdateInfo& surfaceUpdateInfo) 827 { 828 SimpleArgumentCoder<SurfaceUpdateInfo>::encode(encoder, surfaceUpdateInfo); 829 } 830 831 bool ArgumentCoder<SurfaceUpdateInfo>::decode(ArgumentDecoder* decoder, SurfaceUpdateInfo& surfaceUpdateInfo) 832 { 833 return SimpleArgumentCoder<SurfaceUpdateInfo>::decode(decoder, surfaceUpdateInfo); 834 } 835 825 836 } // namespace CoreIPC 826 837 -
trunk/Source/WebKit2/Shared/CoordinatedGraphics/CoordinatedGraphicsArgumentCoders.h
r140601 r140746 55 55 namespace WebKit { 56 56 struct CoordinatedLayerInfo; 57 class SurfaceUpdateInfo; 57 58 } 58 59 … … 115 116 }; 116 117 118 template<> struct ArgumentCoder<WebKit::SurfaceUpdateInfo> { 119 static void encode(ArgumentEncoder&, const WebKit::SurfaceUpdateInfo&); 120 static bool decode(ArgumentDecoder*, WebKit::SurfaceUpdateInfo&); 121 }; 122 117 123 } // namespace CoreIPC 118 124 -
trunk/Source/WebKit2/Shared/CoordinatedGraphics/SurfaceUpdateInfo.h
r140745 r140746 21 21 #define SurfaceUpdateInfo_h 22 22 23 #if USE(COORDINATED_GRAPHICS) 24 23 25 #include <WebCore/IntRect.h> 24 26 #include <wtf/Noncopyable.h> 25 26 namespace CoreIPC {27 class ArgumentDecoder;28 class ArgumentEncoder;29 }30 27 31 28 namespace WebKit { … … 36 33 public: 37 34 SurfaceUpdateInfo() { } 38 39 void encode(CoreIPC::ArgumentEncoder&) const;40 static bool decode(CoreIPC::ArgumentDecoder*, SurfaceUpdateInfo&);41 35 42 36 // The rect to be updated. … … 55 49 } // namespace WebKit 56 50 57 #endif // UpdateInfo_h 51 #endif // USE(COORDINATED_GRAPHICS) 52 53 #endif // SurfaceUpdateInfo_h -
trunk/Source/WebKit2/Target.pri
r140720 r140746 100 100 Shared/StatisticsData.h \ 101 101 Shared/StringPairVector.h \ 102 Shared/SurfaceUpdateInfo.h \103 102 Shared/UpdateInfo.h \ 104 103 Shared/UserMessageCoders.h \ … … 138 137 Shared/CoordinatedGraphics/CoordinatedLayerInfo.h \ 139 138 Shared/CoordinatedGraphics/CoordinatedSurface.h \ 139 Shared/CoordinatedGraphics/SurfaceUpdateInfo.h \ 140 140 Shared/CoordinatedGraphics/WebCoordinatedSurface.h \ 141 141 Shared/CoordinatedGraphics/WebCustomFilterProgram.h \ … … 475 475 Shared/SessionState.cpp \ 476 476 Shared/StatisticsData.cpp \ 477 Shared/SurfaceUpdateInfo.cpp \478 477 Shared/UpdateInfo.cpp \ 479 478 Shared/VisitedLinkTable.cpp \
Note: See TracChangeset
for help on using the changeset viewer.