|
Generate toCSSFooValue() for CSSFooValues
As a step of generating toCSSFooValue(), this cl adds toCSSFooValue() for some CSS child values. (CSSCanvasValue, CSSCrossfadeValue, CSSImageGeneratorValue, CSSImageValue, CSSInitialValue, CSSTimingFunctionValue, CSSCubicBezierTimingFunctionValue and CSSStepsTimingFunctionValue)
This will help to detect bad type casts. To support some toCSSFooValue(), isCanvasValue(), isUnicodeRangeValue(), and isCrossfadeValue() are addeded to CSSValue.h.
BUG=N/A
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=158916
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+41 lines, -38 lines) |
Patch |
|
M |
Source/core/css/CSSCanvasValue.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSCrossfadeValue.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSCrossfadeValue.cpp
|
View
|
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSImageGeneratorValue.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSImageGeneratorValue.cpp
|
View
|
|
3 chunks |
+6 lines, -6 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSImageValue.h
|
View
|
|
1 chunk |
+1 line, -14 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSInitialValue.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSTimingFunctionValue.h
|
View
|
|
2 chunks |
+4 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSToStyleMap.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSUnicodeRangeValue.h
|
View
|
|
1 chunk |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSValue.h
|
View
|
|
2 chunks |
+3 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/css/CSSValue.cpp
|
View
|
|
5 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
|
M |
Source/core/css/FontFace.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/ElementStyleResources.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/css/resolver/StyleBuilderCustom.cpp
|
View
|
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
|
M |
Source/core/rendering/style/StylePendingImage.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 4 (0 generated)
|