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

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

Issue 2758683002: Replace ASSERT_NOT_REACHED with NOTREACHED in core/layout/ (Closed)
Patch Set: Rebase with latest Created 3 years, 9 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) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc.
3 * All rights reserved. 3 * All rights reserved.
4 * 4 *
5 * This library is free software; you can redistribute it and/or 5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Library General Public 6 * modify it under the terms of the GNU Library General Public
7 * License as published by the Free Software Foundation; either 7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version. 8 * version 2 of the License, or (at your option) any later version.
9 * 9 *
10 * This library is distributed in the hope that it will be useful, 10 * This library is distributed in the hope that it will be useful,
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after
146 virtual bool isSVGInlineFlowBox() const { return false; } 146 virtual bool isSVGInlineFlowBox() const { return false; }
147 virtual bool isSVGRootInlineBox() const { return false; } 147 virtual bool isSVGRootInlineBox() const { return false; }
148 148
149 bool hasVirtualLogicalHeight() const { 149 bool hasVirtualLogicalHeight() const {
150 return m_bitfields.hasVirtualLogicalHeight(); 150 return m_bitfields.hasVirtualLogicalHeight();
151 } 151 }
152 void setHasVirtualLogicalHeight() { 152 void setHasVirtualLogicalHeight() {
153 m_bitfields.setHasVirtualLogicalHeight(true); 153 m_bitfields.setHasVirtualLogicalHeight(true);
154 } 154 }
155 virtual LayoutUnit virtualLogicalHeight() const { 155 virtual LayoutUnit virtualLogicalHeight() const {
156 ASSERT_NOT_REACHED(); 156 NOTREACHED();
157 return LayoutUnit(); 157 return LayoutUnit();
158 } 158 }
159 159
160 bool isHorizontal() const { return m_bitfields.isHorizontal(); } 160 bool isHorizontal() const { return m_bitfields.isHorizontal(); }
161 void setIsHorizontal(bool isHorizontal) { 161 void setIsHorizontal(bool isHorizontal) {
162 m_bitfields.setIsHorizontal(isHorizontal); 162 m_bitfields.setIsHorizontal(isHorizontal);
163 } 163 }
164 164
165 bool isConstructed() { return m_bitfields.constructed(); } 165 bool isConstructed() { return m_bitfields.constructed(); }
166 virtual void setConstructed() { m_bitfields.setConstructed(true); } 166 virtual void setConstructed() { m_bitfields.setConstructed(true); }
(...skipping 379 matching lines...) Expand 10 before | Expand all | Expand 10 after
546 546
547 } // namespace blink 547 } // namespace blink
548 548
549 #ifndef NDEBUG 549 #ifndef NDEBUG
550 // Outside the WebCore namespace for ease of invocation from gdb. 550 // Outside the WebCore namespace for ease of invocation from gdb.
551 void showTree(const blink::InlineBox*); 551 void showTree(const blink::InlineBox*);
552 void showLineTree(const blink::InlineBox*); 552 void showLineTree(const blink::InlineBox*);
553 #endif 553 #endif
554 554
555 #endif // InlineBox_h 555 #endif // InlineBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698