Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
DataRef<T> should use Ref<T> internally.
<https://webkit.org/b/122953> DataRef is used to hold RenderStyle substructures, and due to the way style inheritance is implemented, DataRef will always point to a live object. Codify this by making DataRef::m_data a Ref, and making all methods that create substructure objects return PassRef. Reviewed by Antti Koivisto. Canonical link: https://commits.webkit.org/141030@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@157568 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing
with
140 additions
and 127 deletions.
- +14 −0 Source/WebCore/ChangeLog
- +11 −16 Source/WebCore/rendering/style/DataRef.h
- +4 −5 Source/WebCore/rendering/style/NinePieceImage.cpp
- +2 −2 Source/WebCore/rendering/style/NinePieceImage.h
- +8 −21 Source/WebCore/rendering/style/RenderStyle.cpp
- +37 −30 Source/WebCore/rendering/style/SVGRenderStyle.cpp
- +3 −2 Source/WebCore/rendering/style/SVGRenderStyle.h
- +16 −16 Source/WebCore/rendering/style/SVGRenderStyleDefs.h
- +2 −2 Source/WebCore/rendering/style/StyleBackgroundData.h
- +2 −2 Source/WebCore/rendering/style/StyleBoxData.h
- +2 −2 Source/WebCore/rendering/style/StyleDeprecatedFlexibleBoxData.h
- +2 −2 Source/WebCore/rendering/style/StyleFilterData.h
- +2 −2 Source/WebCore/rendering/style/StyleFlexibleBoxData.h
- +2 −2 Source/WebCore/rendering/style/StyleGridData.h
- +2 −2 Source/WebCore/rendering/style/StyleGridItemData.h
- +2 −2 Source/WebCore/rendering/style/StyleInheritedData.h
- +2 −2 Source/WebCore/rendering/style/StyleMarqueeData.h
- +2 −2 Source/WebCore/rendering/style/StyleMultiColData.h
- +3 −3 Source/WebCore/rendering/style/StyleRareInheritedData.cpp
- +2 −2 Source/WebCore/rendering/style/StyleRareInheritedData.h
- +10 −0 Source/WebCore/rendering/style/StyleRareNonInheritedData.cpp
- +2 −2 Source/WebCore/rendering/style/StyleRareNonInheritedData.h
- +2 −2 Source/WebCore/rendering/style/StyleSurroundData.h
- +2 −2 Source/WebCore/rendering/style/StyleTransformData.h
- +2 −2 Source/WebCore/rendering/style/StyleVariableData.h
- +2 −2 Source/WebCore/rendering/style/StyleVisualData.h
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.