Changeset 197593 in webkit
- Timestamp:
- Mar 4, 2016 3:32:14 PM (8 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 1 deleted
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r197592 r197593 1 2016-03-04 Simon Fraser <simon.fraser@apple.com> 2 3 Use BoxExtent instead of EdgeSet in TileController 4 https://bugs.webkit.org/show_bug.cgi?id=155040 5 6 Reviewed by Zalan Bujtas. 7 8 Remove EdgeSet, which was very similar to the existing BoxExtent, and use BoxExtent 9 in TileController. 10 11 * WebCore.xcodeproj/project.pbxproj: 12 * platform/graphics/EdgeSet.h: Removed. 13 (WebCore::EdgeSet::EdgeSet): Deleted. 14 (WebCore::EdgeSet::top): Deleted. 15 (WebCore::EdgeSet::setTop): Deleted. 16 (WebCore::EdgeSet::right): Deleted. 17 (WebCore::EdgeSet::setRight): Deleted. 18 (WebCore::EdgeSet::bottom): Deleted. 19 (WebCore::EdgeSet::setBottom): Deleted. 20 (WebCore::EdgeSet::left): Deleted. 21 (WebCore::EdgeSet::setLeft): Deleted. 22 (WebCore::EdgeSet::operator==): Deleted. 23 (WebCore::EdgeSet::operator!=): Deleted. 24 * platform/graphics/ca/TileController.cpp: 25 (WebCore::TileController::setHasMargins): 26 * platform/graphics/ca/TileController.h: 27 1 28 2016-03-04 Brent Fulgham <bfulgham@apple.com> 2 29 -
trunk/Source/WebCore/WebCore.xcodeproj/project.pbxproj
r197592 r197593 461 461 0F1774801378B772009DA76A /* ScrollAnimatorIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F17747E1378B771009DA76A /* ScrollAnimatorIOS.h */; }; 462 462 0F1774811378B772009DA76A /* ScrollAnimatorIOS.mm in Sources */ = {isa = PBXBuildFile; fileRef = 0F17747F1378B772009DA76A /* ScrollAnimatorIOS.mm */; }; 463 0F2884001C7CF7D500888E9A /* EdgeSet.h in Headers */ = {isa = PBXBuildFile; fileRef = 0F2883FF1C7CF7D500888E9A /* EdgeSet.h */; settings = {ATTRIBUTES = (Private, ); }; };464 463 0F36E7371BD1837A002DB891 /* LayoutPoint.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0F36E7361BD1837A002DB891 /* LayoutPoint.cpp */; }; 465 464 0F36E7391BD184B9002DB891 /* LayoutSize.cpp in Sources */ = {isa = PBXBuildFile; fileRef = 0F36E7381BD184B9002DB891 /* LayoutSize.cpp */; }; … … 7852 7851 0F17747E1378B771009DA76A /* ScrollAnimatorIOS.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ScrollAnimatorIOS.h; sourceTree = "<group>"; }; 7853 7852 0F17747F1378B772009DA76A /* ScrollAnimatorIOS.mm */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.objcpp; path = ScrollAnimatorIOS.mm; sourceTree = "<group>"; }; 7854 0F2883FF1C7CF7D500888E9A /* EdgeSet.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = EdgeSet.h; sourceTree = "<group>"; };7855 7853 0F36E7361BD1837A002DB891 /* LayoutPoint.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LayoutPoint.cpp; sourceTree = "<group>"; }; 7856 7854 0F36E7381BD184B9002DB891 /* LayoutSize.cpp */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.cpp.cpp; path = LayoutSize.cpp; sourceTree = "<group>"; }; … … 21866 21864 2D29ECC3192ECC8300984B78 /* DisplayRefreshMonitorManager.cpp */, 21867 21865 2D29ECC4192ECC8300984B78 /* DisplayRefreshMonitorManager.h */, 21868 0F2883FF1C7CF7D500888E9A /* EdgeSet.h */,21869 21866 6E67D2A81280E8BD008758F7 /* Extensions3D.h */, 21870 21867 B275353A0B053814002CE64F /* FloatPoint.cpp */, … … 25284 25281 E1FE137B184D21BB00892F13 /* CryptoAlgorithmAES_KW.h in Headers */, 25285 25282 E125F83A1824104800D84CD9 /* CryptoAlgorithmAesCbcParams.h in Headers */, 25286 0F2884001C7CF7D500888E9A /* EdgeSet.h in Headers */,25287 25283 E19AC3F71824E5D100349426 /* CryptoAlgorithmAesKeyGenParams.h in Headers */, 25288 25284 E157A8ED181851AC009F821D /* CryptoAlgorithmDescriptionBuilder.h in Headers */, -
trunk/Source/WebCore/platform/graphics/ca/TileController.cpp
r197580 r197593 614 614 void TileController::setHasMargins(bool marginTop, bool marginBottom, bool marginLeft, bool marginRight) 615 615 { 616 EdgeSet<bool> marginEdges(marginTop, marginRight, marginBottom, marginLeft);616 BoxExtent<bool> marginEdges(marginTop, marginRight, marginBottom, marginLeft); 617 617 if (marginEdges == m_marginEdges) 618 618 return; -
trunk/Source/WebCore/platform/graphics/ca/TileController.h
r197563 r197593 27 27 #define TileController_h 28 28 29 #include "EdgeSet.h"30 29 #include "FloatRect.h" 31 30 #include "IntRect.h" 31 #include "LengthBox.h" 32 32 #include "PlatformCALayer.h" 33 33 #include "PlatformCALayerClient.h" … … 214 214 Scrollability m_scrollability { HorizontallyScrollable | VerticallyScrollable }; 215 215 216 EdgeSet<bool> m_marginEdges;216 BoxExtent<bool> m_marginEdges; 217 217 218 218 bool m_isInWindow { false };
Note: See TracChangeset
for help on using the changeset viewer.