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

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

Issue 2015523004: Don't explicitly initialize LayoutUnit to 0. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Go through the subdirs of core/layout/ too. Created 4 years, 6 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 /* 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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/LayoutGrid.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698