Chromium Code Reviews| Index: third_party/WebKit/Source/core/style/ComputedStyle.cpp |
| diff --git a/third_party/WebKit/Source/core/style/ComputedStyle.cpp b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
| index 8f5d6fb33f8b9fe0804b06bc60f51b422a48628d..6df8068782df6b3e7ee478632f90f078a97c3603 100644 |
| --- a/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
| +++ b/third_party/WebKit/Source/core/style/ComputedStyle.cpp |
| @@ -1925,6 +1925,23 @@ bool ComputedStyle::shadowListHasCurrentColor(const ShadowList* shadowList) |
| return false; |
| } |
| +inline Vector<GridTrackSize> initialGridAutoTracks() |
|
Manuel Rego
2016/07/22 08:24:55
Why not mark it as static?
svillar
2016/07/22 13:08:28
No particular reason, some methods in that file ar
|
| +{ |
| + Vector<GridTrackSize> trackSizeList; |
| + trackSizeList.append(GridTrackSize(Length(Auto))); |
| + return trackSizeList; |
| +} |
| + |
| +Vector<GridTrackSize> ComputedStyle::initialGridAutoColumns() |
| +{ |
| + return initialGridAutoTracks(); |
| +} |
| + |
| +Vector<GridTrackSize> ComputedStyle::initialGridAutoRows() |
| +{ |
| + return initialGridAutoTracks(); |
| +} |
| + |
| int adjustForAbsoluteZoom(int value, float zoomFactor) |
| { |
| if (zoomFactor == 1) |