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

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintLayerScrollableArea.h

Issue 2640163004: Replace ENABLE(ASSERT) with DCHECK_IS_ON(). (Closed)
Patch Set: Created 3 years, 11 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, 2009, 2012 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2009, 2012 Apple Inc. All rights reserved.
3 * 3 *
4 * Portions are Copyright (C) 1998 Netscape Communications Corporation. 4 * Portions are Copyright (C) 1998 Netscape Communications Corporation.
5 * 5 *
6 * Other contributors: 6 * Other contributors:
7 * Robert O'Callahan <roc+@cs.cmu.edu> 7 * Robert O'Callahan <roc+@cs.cmu.edu>
8 * David Baron <dbaron@fas.harvard.edu> 8 * David Baron <dbaron@fas.harvard.edu>
9 * Christian Biesinger <cbiesinger@web.de> 9 * Christian Biesinger <cbiesinger@web.de>
10 * Randall Jesup <rjesup@wgate.com> 10 * Randall Jesup <rjesup@wgate.com>
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after
585 // LayoutObject to hold our custom resizer. 585 // LayoutObject to hold our custom resizer.
586 LayoutScrollbarPart* m_resizer; 586 LayoutScrollbarPart* m_resizer;
587 587
588 ScrollAnchor m_scrollAnchor; 588 ScrollAnchor m_scrollAnchor;
589 589
590 std::unique_ptr<PaintLayerScrollableAreaRareData> m_rareData; 590 std::unique_ptr<PaintLayerScrollableAreaRareData> m_rareData;
591 591
592 // MainThreadScrollingReason due to the properties of the LayoutObject 592 // MainThreadScrollingReason due to the properties of the LayoutObject
593 uint32_t m_reasons; 593 uint32_t m_reasons;
594 594
595 #if ENABLE(ASSERT) 595 #if DCHECK_IS_ON()
596 bool m_hasBeenDisposed; 596 bool m_hasBeenDisposed;
597 #endif 597 #endif
598 }; 598 };
599 599
600 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, 600 DEFINE_TYPE_CASTS(PaintLayerScrollableArea,
601 ScrollableArea, 601 ScrollableArea,
602 scrollableArea, 602 scrollableArea,
603 scrollableArea->isPaintLayerScrollableArea(), 603 scrollableArea->isPaintLayerScrollableArea(),
604 scrollableArea.isPaintLayerScrollableArea()); 604 scrollableArea.isPaintLayerScrollableArea());
605 605
606 } // namespace blink 606 } // namespace blink
607 607
608 #endif // LayerScrollableArea_h 608 #endif // LayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698