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

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

Issue 2365173002: Detach PaintLayerScrollableArea from RootFrameViewport when disposed. (Closed)
Patch Set: Fixed ASAN failure in previous patch Created 4 years, 2 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 29 matching lines...) Expand all
40 * If you do not delete the provisions above, a recipient may use your 40 * If you do not delete the provisions above, a recipient may use your
41 * version of this file under any of the LGPL, the MPL or the GPL. 41 * version of this file under any of the LGPL, the MPL or the GPL.
42 */ 42 */
43 43
44 #ifndef PaintLayerScrollableArea_h 44 #ifndef PaintLayerScrollableArea_h
45 #define PaintLayerScrollableArea_h 45 #define PaintLayerScrollableArea_h
46 46
47 #include "core/CoreExport.h" 47 #include "core/CoreExport.h"
48 #include "core/layout/ScrollAnchor.h" 48 #include "core/layout/ScrollAnchor.h"
49 #include "core/layout/ScrollEnums.h" 49 #include "core/layout/ScrollEnums.h"
50 #include "core/page/scrolling/StickyPositionScrollingConstraints.h"
50 #include "core/paint/PaintInvalidationCapableScrollableArea.h" 51 #include "core/paint/PaintInvalidationCapableScrollableArea.h"
51 #include "core/paint/PaintLayerFragment.h" 52 #include "core/paint/PaintLayerFragment.h"
52 #include "platform/heap/Handle.h" 53 #include "platform/heap/Handle.h"
53 #include "wtf/PtrUtil.h" 54 #include "wtf/PtrUtil.h"
54 #include <memory> 55 #include <memory>
55 56
56 namespace blink { 57 namespace blink {
57 58
58 enum ResizerHitTestType { 59 enum ResizerHitTestType {
59 ResizerForPointer, 60 ResizerForPointer,
(...skipping 485 matching lines...) Expand 10 before | Expand all | Expand 10 after
545 #endif 546 #endif
546 }; 547 };
547 548
548 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, ScrollableArea, scrollableArea, 549 DEFINE_TYPE_CASTS(PaintLayerScrollableArea, ScrollableArea, scrollableArea,
549 scrollableArea->isPaintLayerScrollableArea(), 550 scrollableArea->isPaintLayerScrollableArea(),
550 scrollableArea.isPaintLayerScrollableArea()); 551 scrollableArea.isPaintLayerScrollableArea());
551 552
552 } // namespace blink 553 } // namespace blink
553 554
554 #endif // LayerScrollableArea_h 555 #endif // LayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698