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

Side by Side Diff: Source/core/paint/DeprecatedPaintLayerScrollableArea.h

Issue 1319893002: Make classes and structures in core/paint fast-allocated. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 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
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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 ResizerForPointer, 56 ResizerForPointer,
57 ResizerForTouch 57 ResizerForTouch
58 }; 58 };
59 59
60 class PlatformEvent; 60 class PlatformEvent;
61 class LayoutBox; 61 class LayoutBox;
62 class DeprecatedPaintLayer; 62 class DeprecatedPaintLayer;
63 class LayoutScrollbarPart; 63 class LayoutScrollbarPart;
64 64
65 class CORE_EXPORT DeprecatedPaintLayerScrollableArea final : public NoBaseWillBe GarbageCollectedFinalized<DeprecatedPaintLayerScrollableArea>, public Scrollable Area { 65 class CORE_EXPORT DeprecatedPaintLayerScrollableArea final : public NoBaseWillBe GarbageCollectedFinalized<DeprecatedPaintLayerScrollableArea>, public Scrollable Area {
66 WTF_MAKE_FAST_ALLOCATED_WILL_BE_REMOVED(DeprecatedPaintLayerScrollableArea);
66 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DeprecatedPaintLayerScrollableArea); 67 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DeprecatedPaintLayerScrollableArea);
67 friend class Internals; 68 friend class Internals;
68 69
69 public: 70 public:
70 // FIXME: We should pass in the LayoutBox but this opens a window 71 // FIXME: We should pass in the LayoutBox but this opens a window
71 // for crashers during DeprecatedPaintLayer setup (see crbug.com/368062). 72 // for crashers during DeprecatedPaintLayer setup (see crbug.com/368062).
72 static PassOwnPtrWillBeRawPtr<DeprecatedPaintLayerScrollableArea> create(Dep recatedPaintLayer& layer) 73 static PassOwnPtrWillBeRawPtr<DeprecatedPaintLayerScrollableArea> create(Dep recatedPaintLayer& layer)
73 { 74 {
74 return adoptPtrWillBeNoop(new DeprecatedPaintLayerScrollableArea(layer)) ; 75 return adoptPtrWillBeNoop(new DeprecatedPaintLayerScrollableArea(layer)) ;
75 } 76 }
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after
301 LayoutScrollbarPart* m_resizer; 302 LayoutScrollbarPart* m_resizer;
302 303
303 #if ENABLE(ASSERT) 304 #if ENABLE(ASSERT)
304 bool m_hasBeenDisposed; 305 bool m_hasBeenDisposed;
305 #endif 306 #endif
306 }; 307 };
307 308
308 } // namespace blink 309 } // namespace blink
309 310
310 #endif // LayerScrollableArea_h 311 #endif // LayerScrollableArea_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698