Chromium Code Reviews| OLD | NEW |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) | 2 * Copyright (C) 1999 Lars Knoll (knoll@kde.org) |
| 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) | 3 * (C) 1999 Antti Koivisto (koivisto@kde.org) |
| 4 * (C) 2007 David Smith (catfish.man@gmail.com) | 4 * (C) 2007 David Smith (catfish.man@gmail.com) |
| 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. | 5 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 Apple Inc. All rights reserved. |
| 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 6 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
| 7 * | 7 * |
| 8 * This library is free software; you can redistribute it and/or | 8 * This library is free software; you can redistribute it and/or |
| 9 * modify it under the terms of the GNU Library General Public | 9 * modify it under the terms of the GNU Library General Public |
| 10 * License as published by the Free Software Foundation; either | 10 * License as published by the Free Software Foundation; either |
| (...skipping 1854 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 1865 TrackedLayoutBoxListHashSet::const_iterator end = positionedDescendantSe t->end(); | 1865 TrackedLayoutBoxListHashSet::const_iterator end = positionedDescendantSe t->end(); |
| 1866 for (TrackedLayoutBoxListHashSet::const_iterator it = positionedDescenda ntSet->begin(); it != end; ++it) { | 1866 for (TrackedLayoutBoxListHashSet::const_iterator it = positionedDescenda ntSet->begin(); it != end; ++it) { |
| 1867 LayoutBox* currBox = *it; | 1867 LayoutBox* currBox = *it; |
| 1868 ASSERT(!currBox->needsLayout()); | 1868 ASSERT(!currBox->needsLayout()); |
| 1869 } | 1869 } |
| 1870 } | 1870 } |
| 1871 } | 1871 } |
| 1872 | 1872 |
| 1873 #endif | 1873 #endif |
| 1874 | 1874 |
| 1875 bool LayoutBlock::hasDefiniteLogicalHeight() const | |
| 1876 { | |
| 1877 return LayoutBox::availableLogicalHeightForPercentageComputation(this, false , scrollsOverflowY()) != LayoutUnit(-1); | |
|
svillar
2016/07/18 08:43:30
This is one of the reasons why bools are normally
| |
| 1878 } | |
| 1879 | |
| 1875 } // namespace blink | 1880 } // namespace blink |
| OLD | NEW |