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

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

Issue 1412083007: Remove FastAllocBase.h (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 1 month 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 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef LayerFixedPositionRecorder_h 5 #ifndef LayerFixedPositionRecorder_h
6 #define LayerFixedPositionRecorder_h 6 #define LayerFixedPositionRecorder_h
7 7
8 #include "wtf/FastAllocBase.h" 8 #include "wtf/Allocator.h"
9 9
10 namespace blink { 10 namespace blink {
11 11
12 class GraphicsContext; 12 class GraphicsContext;
13 class LayoutBoxModelObject; 13 class LayoutBoxModelObject;
14 14
15 class LayerFixedPositionRecorder { 15 class LayerFixedPositionRecorder {
16 WTF_MAKE_FAST_ALLOCATED(LayerFixedPositionRecorder); 16 WTF_MAKE_FAST_ALLOCATED(LayerFixedPositionRecorder);
17 public: 17 public:
18 explicit LayerFixedPositionRecorder(GraphicsContext&, const LayoutBoxModelOb ject&); 18 explicit LayerFixedPositionRecorder(GraphicsContext&, const LayoutBoxModelOb ject&);
19 ~LayerFixedPositionRecorder(); 19 ~LayerFixedPositionRecorder();
20 20
21 private: 21 private:
22 GraphicsContext& m_graphicsContext; 22 GraphicsContext& m_graphicsContext;
23 const LayoutBoxModelObject& m_layoutObject; 23 const LayoutBoxModelObject& m_layoutObject;
24 bool m_isFixedPosition; 24 bool m_isFixedPosition;
25 bool m_isFixedPositionContainer; 25 bool m_isFixedPositionContainer;
26 }; 26 };
27 27
28 } // namespace blink 28 } // namespace blink
29 29
30 #endif // LayerFixedPositionRecorder_h 30 #endif // LayerFixedPositionRecorder_h
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/paint/FloatClipRecorder.h ('k') | third_party/WebKit/Source/core/paint/ScrollRecorder.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698