| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2012 Apple Inc. All rights reserved. | 2 * Copyright (C) 2012 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 18 matching lines...) Expand all Loading... |
| 29 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h" | 29 #include "core/layout/LayoutMultiColumnSpannerPlaceholder.h" |
| 30 #include "core/layout/LayoutView.h" | 30 #include "core/layout/LayoutView.h" |
| 31 #include "core/layout/MultiColumnFragmentainerGroup.h" | 31 #include "core/layout/MultiColumnFragmentainerGroup.h" |
| 32 #include "core/layout/ViewFragmentationContext.h" | 32 #include "core/layout/ViewFragmentationContext.h" |
| 33 | 33 |
| 34 namespace blink { | 34 namespace blink { |
| 35 | 35 |
| 36 LayoutMultiColumnFlowThread::LayoutMultiColumnFlowThread() | 36 LayoutMultiColumnFlowThread::LayoutMultiColumnFlowThread() |
| 37 : m_lastSetWorkedOn(nullptr) | 37 : m_lastSetWorkedOn(nullptr) |
| 38 , m_columnCount(1) | 38 , m_columnCount(1) |
| 39 , m_columnHeightAvailable(0) | |
| 40 , m_columnHeightsChanged(false) | 39 , m_columnHeightsChanged(false) |
| 41 , m_progressionIsInline(true) | 40 , m_progressionIsInline(true) |
| 42 , m_isBeingEvacuated(false) | 41 , m_isBeingEvacuated(false) |
| 43 { | 42 { |
| 44 setIsInsideFlowThread(true); | 43 setIsInsideFlowThread(true); |
| 45 } | 44 } |
| 46 | 45 |
| 47 LayoutMultiColumnFlowThread::~LayoutMultiColumnFlowThread() | 46 LayoutMultiColumnFlowThread::~LayoutMultiColumnFlowThread() |
| 48 { | 47 { |
| 49 } | 48 } |
| (...skipping 992 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1042 } | 1041 } |
| 1043 if (canContainSpannerInParentFragmentationContext(*object)) | 1042 if (canContainSpannerInParentFragmentationContext(*object)) |
| 1044 next = object->nextInPreOrder(&root); | 1043 next = object->nextInPreOrder(&root); |
| 1045 else | 1044 else |
| 1046 next = object->nextInPreOrderAfterChildren(&root); | 1045 next = object->nextInPreOrderAfterChildren(&root); |
| 1047 } | 1046 } |
| 1048 return true; | 1047 return true; |
| 1049 } | 1048 } |
| 1050 | 1049 |
| 1051 } // namespace blink | 1050 } // namespace blink |
| OLD | NEW |