| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Apple Inc. All rights reserved. | 2 * Copyright (C) 2011 Apple Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 1409 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1420 TrackSizeComputationPhase phase, | 1420 TrackSizeComputationPhase phase, |
| 1421 const GridTrackSize& trackSize) { | 1421 const GridTrackSize& trackSize) { |
| 1422 switch (phase) { | 1422 switch (phase) { |
| 1423 case ResolveIntrinsicMinimums: | 1423 case ResolveIntrinsicMinimums: |
| 1424 return trackSize.hasIntrinsicMinTrackBreadth(); | 1424 return trackSize.hasIntrinsicMinTrackBreadth(); |
| 1425 case ResolveContentBasedMinimums: | 1425 case ResolveContentBasedMinimums: |
| 1426 return trackSize.hasMinOrMaxContentMinTrackBreadth(); | 1426 return trackSize.hasMinOrMaxContentMinTrackBreadth(); |
| 1427 case ResolveMaxContentMinimums: | 1427 case ResolveMaxContentMinimums: |
| 1428 return trackSize.hasMaxContentMinTrackBreadth(); | 1428 return trackSize.hasMaxContentMinTrackBreadth(); |
| 1429 case ResolveIntrinsicMaximums: | 1429 case ResolveIntrinsicMaximums: |
| 1430 return trackSize.hasMinOrMaxContentMaxTrackBreadth(); | 1430 return trackSize.hasIntrinsicMaxTrackBreadth(); |
| 1431 case ResolveMaxContentMaximums: | 1431 case ResolveMaxContentMaximums: |
| 1432 return trackSize.hasMaxContentOrAutoMaxTrackBreadth(); | 1432 return trackSize.hasMaxContentOrAutoMaxTrackBreadth(); |
| 1433 case MaximizeTracks: | 1433 case MaximizeTracks: |
| 1434 ASSERT_NOT_REACHED(); | 1434 ASSERT_NOT_REACHED(); |
| 1435 return false; | 1435 return false; |
| 1436 } | 1436 } |
| 1437 | 1437 |
| 1438 ASSERT_NOT_REACHED(); | 1438 ASSERT_NOT_REACHED(); |
| 1439 return false; | 1439 return false; |
| 1440 } | 1440 } |
| (...skipping 1867 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 3308 if (!m_gridItemArea.isEmpty()) | 3308 if (!m_gridItemArea.isEmpty()) |
| 3309 GridPainter(*this).paintChildren(paintInfo, paintOffset); | 3309 GridPainter(*this).paintChildren(paintInfo, paintOffset); |
| 3310 } | 3310 } |
| 3311 | 3311 |
| 3312 bool LayoutGrid::cachedHasDefiniteLogicalHeight() const { | 3312 bool LayoutGrid::cachedHasDefiniteLogicalHeight() const { |
| 3313 SECURITY_DCHECK(m_hasDefiniteLogicalHeight); | 3313 SECURITY_DCHECK(m_hasDefiniteLogicalHeight); |
| 3314 return m_hasDefiniteLogicalHeight.value(); | 3314 return m_hasDefiniteLogicalHeight.value(); |
| 3315 } | 3315 } |
| 3316 | 3316 |
| 3317 } // namespace blink | 3317 } // namespace blink |
| OLD | NEW |