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

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

Issue 1508223005: Client side display item cache flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@ScrollbarTheme
Patch Set: Try performance 2 Created 4 years, 7 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. All r ights reserved. 2 * Copyright (C) 2003, 2004, 2005, 2006, 2007, 2009, 2010, 2011 Apple Inc. All r ights 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 407 matching lines...) Expand 10 before | Expand all | Expand 10 after
418 418
419 // For InlineFlowBox and InlineTextBox 419 // For InlineFlowBox and InlineTextBox
420 bool extracted() const { return m_bitfields.extracted(); } 420 bool extracted() const { return m_bitfields.extracted(); }
421 421
422 LayoutPoint m_topLeft; 422 LayoutPoint m_topLeft;
423 LayoutUnit m_logicalWidth; 423 LayoutUnit m_logicalWidth;
424 424
425 private: 425 private:
426 InlineBoxBitfields m_bitfields; 426 InlineBoxBitfields m_bitfields;
427 427
428 DISPLAY_ITEM_CACHE_STATUS_IMPLEMENTATION
429
428 #if ENABLE(ASSERT) 430 #if ENABLE(ASSERT)
429 bool m_hasBadParent; 431 bool m_hasBadParent;
430 #endif 432 #endif
431 }; 433 };
432 434
433 #if !ENABLE(ASSERT) 435 #if !ENABLE(ASSERT)
434 inline InlineBox::~InlineBox() 436 inline InlineBox::~InlineBox()
435 { 437 {
436 } 438 }
437 #endif 439 #endif
(...skipping 13 matching lines...) Expand all
451 453
452 } // namespace blink 454 } // namespace blink
453 455
454 #ifndef NDEBUG 456 #ifndef NDEBUG
455 // Outside the WebCore namespace for ease of invocation from gdb. 457 // Outside the WebCore namespace for ease of invocation from gdb.
456 void showTree(const blink::InlineBox*); 458 void showTree(const blink::InlineBox*);
457 void showLineTree(const blink::InlineBox*); 459 void showLineTree(const blink::InlineBox*);
458 #endif 460 #endif
459 461
460 #endif // InlineBox_h 462 #endif // InlineBox_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698