Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(633)

Side by Side Diff: third_party/WebKit/Source/core/layout/ColumnBalancer.cpp

Issue 1541793002: Remove config.h inclusion from third_party/WebKit/Source/core/layout/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "config.h"
6
7 #include "core/layout/ColumnBalancer.h" 5 #include "core/layout/ColumnBalancer.h"
8 6
9 #include "core/layout/LayoutMultiColumnFlowThread.h" 7 #include "core/layout/LayoutMultiColumnFlowThread.h"
10 #include "core/layout/LayoutMultiColumnSet.h" 8 #include "core/layout/LayoutMultiColumnSet.h"
11 9
12 namespace blink { 10 namespace blink {
13 11
14 ColumnBalancer::ColumnBalancer(const MultiColumnFragmentainerGroup& group) 12 ColumnBalancer::ColumnBalancer(const MultiColumnFragmentainerGroup& group)
15 : m_group(group) 13 : m_group(group)
16 { 14 {
(...skipping 308 matching lines...) Expand 10 before | Expand all | Expand 10 after
325 recordSpaceShortage(logicalOffsetFromCurrentColumn + lineHeight - m_pend ingStrut); 323 recordSpaceShortage(logicalOffsetFromCurrentColumn + lineHeight - m_pend ingStrut);
326 m_pendingStrut = LayoutUnit::min(); 324 m_pendingStrut = LayoutUnit::min();
327 return; 325 return;
328 } 326 }
329 ASSERT(isFirstAfterBreak(lineTopInFlowThread) || !line.paginationStrut() || !isLogicalTopWithinBounds(lineTopInFlowThread - line.paginationStrut())); 327 ASSERT(isFirstAfterBreak(lineTopInFlowThread) || !line.paginationStrut() || !isLogicalTopWithinBounds(lineTopInFlowThread - line.paginationStrut()));
330 if (isFirstAfterBreak(lineTopInFlowThread)) 328 if (isFirstAfterBreak(lineTopInFlowThread))
331 recordSpaceShortage(lineHeight - line.paginationStrut()); 329 recordSpaceShortage(lineHeight - line.paginationStrut());
332 } 330 }
333 331
334 } // namespace blink 332 } // namespace blink
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/ClipRect.cpp ('k') | third_party/WebKit/Source/core/layout/CounterNode.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698