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

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

Issue 2304563003: Add DISABLE_CFI_PERF attribute on the methods with CFI checks disabled. (Closed)
Patch Set: InlineBox Created 4 years, 3 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
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/InlineBox.cpp ('k') | tools/cfi/blacklist.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 InlineBox* lastChild() const { checkConsistency(); return m_lastChild; } 89 InlineBox* lastChild() const { checkConsistency(); return m_lastChild; }
90 90
91 bool isLeaf() const final { return false; } 91 bool isLeaf() const final { return false; }
92 92
93 InlineBox* firstLeafChild() const; 93 InlineBox* firstLeafChild() const;
94 InlineBox* lastLeafChild() const; 94 InlineBox* lastLeafChild() const;
95 95
96 typedef void (*CustomInlineBoxRangeReverse)(Vector<InlineBox*>::iterator fir st, Vector<InlineBox*>::iterator last); 96 typedef void (*CustomInlineBoxRangeReverse)(Vector<InlineBox*>::iterator fir st, Vector<InlineBox*>::iterator last);
97 void collectLeafBoxesInLogicalOrder(Vector<InlineBox*>&, CustomInlineBoxRang eReverse customReverseImplementation = 0) const; 97 void collectLeafBoxesInLogicalOrder(Vector<InlineBox*>&, CustomInlineBoxRang eReverse customReverseImplementation = 0) const;
98 98
99 DISABLE_CFI_PERF
99 void setConstructed() final 100 void setConstructed() final
100 { 101 {
101 InlineBox::setConstructed(); 102 InlineBox::setConstructed();
102 for (InlineBox* child = firstChild(); child; child = child->nextOnLine() ) 103 for (InlineBox* child = firstChild(); child; child = child->nextOnLine() )
103 child->setConstructed(); 104 child->setConstructed();
104 } 105 }
105 106
106 void addToLine(InlineBox* child); 107 void addToLine(InlineBox* child);
107 void deleteLine() final; 108 void deleteLine() final;
108 void extractLine() final; 109 void extractLine() final;
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
367 inline void InlineFlowBox::setHasBadChildList() 368 inline void InlineFlowBox::setHasBadChildList()
368 { 369 {
369 #if ENABLE(ASSERT) 370 #if ENABLE(ASSERT)
370 m_hasBadChildList = true; 371 m_hasBadChildList = true;
371 #endif 372 #endif
372 } 373 }
373 374
374 } // namespace blink 375 } // namespace blink
375 376
376 #endif // InlineFlowBox_h 377 #endif // InlineFlowBox_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/layout/line/InlineBox.cpp ('k') | tools/cfi/blacklist.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698