|
MediaQueryEvaluator getting mediaType from MediaValues
Current MediaQueryEvaluator takes the media type on top of the LocalFrame upon its creation.
That means that media type changes are not taken into account, and users such as
MediaQueryMatcher have to create a new instance whenever the media type may have changed.
This CL fixes that.
BUG= 389462
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=177087
Total comments: 2
Total comments: 1
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+133 lines, -167 lines) |
Patch |
 |
M |
Source/core/css/MediaQueryEvaluator.h
|
View
|
1
2
|
2 chunks |
+4 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaQueryEvaluator.cpp
|
View
|
1
2
3
4
5
|
5 chunks |
+21 lines, -17 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaQueryEvaluatorTest.cpp
|
View
|
1
2
|
3 chunks |
+82 lines, -62 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaQueryMatcher.h
|
View
|
1
2
3
|
1 chunk |
+0 lines, -2 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaQueryMatcher.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -9 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaValues.h
|
View
|
1
2
|
2 chunks |
+2 lines, -6 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaValues.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -15 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaValuesCached.h
|
View
|
1
2
|
3 chunks |
+2 lines, -9 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaValuesCached.cpp
|
View
|
1
2
|
2 chunks |
+7 lines, -18 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaValuesDynamic.h
|
View
|
1
2
|
1 chunk |
+1 line, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/MediaValuesDynamic.cpp
|
View
|
1
2
|
1 chunk |
+2 lines, -12 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/StyleMedia.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/SizesAttributeParser.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/SizesAttributeParserTest.cpp
|
View
|
1
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/parser/SizesCalcParserTest.cpp
|
View
|
1
2
3
|
2 chunks |
+2 lines, -3 lines |
0 comments
|
Download
|
 |
M |
Source/core/css/resolver/StyleResolver.cpp
|
View
|
1
2
3
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/HTMLLinkElement.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
Source/core/html/parser/HTMLPreloadScanner.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 7 (0 generated)
|