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

Side by Side Diff: third_party/WebKit/Source/core/layout/LayoutBox.h

Issue 2522043003: Replace ASSERT_NOT_REACHED -> NOTREACHED (Closed)
Patch Set: Created 4 years 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) 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 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved. 4 * Copyright (C) 2003, 2006, 2007 Apple Inc. All rights reserved.
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 1225 matching lines...) Expand 10 before | Expand all | Expand 10 after
1236 return false; 1236 return false;
1237 1237
1238 LayoutRect layoutOverflowRect = m_overflow->layoutOverflowRect(); 1238 LayoutRect layoutOverflowRect = m_overflow->layoutOverflowRect();
1239 LayoutRect noOverflowRect = this->noOverflowRect(); 1239 LayoutRect noOverflowRect = this->noOverflowRect();
1240 return layoutOverflowRect.y() < noOverflowRect.y() || 1240 return layoutOverflowRect.y() < noOverflowRect.y() ||
1241 layoutOverflowRect.maxY() > noOverflowRect.maxY(); 1241 layoutOverflowRect.maxY() > noOverflowRect.maxY();
1242 } 1242 }
1243 1243
1244 virtual LayoutBox* createAnonymousBoxWithSameTypeAs( 1244 virtual LayoutBox* createAnonymousBoxWithSameTypeAs(
1245 const LayoutObject*) const { 1245 const LayoutObject*) const {
1246 ASSERT_NOT_REACHED(); 1246 NOTREACHED();
1247 return nullptr; 1247 return nullptr;
1248 } 1248 }
1249 1249
1250 bool hasSameDirectionAs(const LayoutBox* object) const { 1250 bool hasSameDirectionAs(const LayoutBox* object) const {
1251 return style()->direction() == object->style()->direction(); 1251 return style()->direction() == object->style()->direction();
1252 } 1252 }
1253 1253
1254 ShapeOutsideInfo* shapeOutsideInfo() const; 1254 ShapeOutsideInfo* shapeOutsideInfo() const;
1255 1255
1256 void markShapeOutsideDependentsForLayout() { 1256 void markShapeOutsideDependentsForLayout() {
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after
1622 1622
1623 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) { 1623 inline bool LayoutBox::isForcedFragmentainerBreakValue(EBreak breakValue) {
1624 return breakValue == BreakColumn || breakValue == BreakLeft || 1624 return breakValue == BreakColumn || breakValue == BreakLeft ||
1625 breakValue == BreakPage || breakValue == BreakRecto || 1625 breakValue == BreakPage || breakValue == BreakRecto ||
1626 breakValue == BreakRight || breakValue == BreakVerso; 1626 breakValue == BreakRight || breakValue == BreakVerso;
1627 } 1627 }
1628 1628
1629 } // namespace blink 1629 } // namespace blink
1630 1630
1631 #endif // LayoutBox_h 1631 #endif // LayoutBox_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/frame/BarProp.cpp ('k') | third_party/WebKit/Source/core/layout/LayoutText.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698