|
Remove MediaValues' dependency on style
MediaValues needed a RenderStyle for default font calculations. However, since a renderer is not always available,
and the default font size can also be concluded from the LocalFrame, this dependency can be removed.
BUG= 357586
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171985
Total comments: 5
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+168 lines, -198 lines) |
Patch |
 |
M |
LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style.html
|
View
|
1
2
3
4
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css/add-remove-stylesheets-at-once-minimal-recalc-style-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css/add-remove-stylesheets-minimal-recalc-style.html
|
View
|
1
2
3
4
|
3 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css/add-remove-stylesheets-minimal-recalc-style-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+4 lines, -4 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css/modify-stylesheet-minimal-recalc-style.html
|
View
|
1
2
3
4
|
2 chunks |
+7 lines, -7 lines |
0 comments
|
Download
|
 |
M |
LayoutTests/fast/css/modify-stylesheet-minimal-recalc-style-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaQueryEvaluator.h
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaQueryEvaluator.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaQueryEvaluatorTest.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaQueryMatcher.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -8 lines |
1 comment
|
Download
|
 |
M |
Source/core/css/MediaValues.h
|
View
|
1
2
|
4 chunks |
+3 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaValues.cpp
|
View
|
1
2
3
|
5 chunks |
+70 lines, -13 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaValuesCached.h
|
View
|
1
2
3
|
2 chunks |
+22 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaValuesCached.cpp
|
View
|
1
2
3
|
4 chunks |
+23 lines, -71 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaValuesDynamic.h
|
View
|
1
2
|
2 chunks |
+2 lines, -4 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaValuesDynamic.cpp
|
View
|
1
2
3
|
2 chunks |
+14 lines, -36 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/StyleMedia.cpp
|
View
|
1
2
|
2 chunks |
+1 line, -5 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/SizesAttributeParserTest.cpp
|
View
|
|
1 chunk |
+0 lines, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolver.h
|
View
|
1
2
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolver.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -14 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLImageElement.cpp
|
View
|
1
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLLinkElement.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 10 (0 generated)
|