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

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

Issue 1110653003: [Reland] Correct fixed-position recording for Slimming Paint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: rebase Created 5 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 | Annotate | Revision Log
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef LayerFixedPositionRecorder_h
6 #define LayerFixedPositionRecorder_h
7
8 #include "wtf/FastAllocBase.h"
9
10 namespace blink {
11
12 class GraphicsContext;
13 class LayoutBoxModelObject;
14
15 class LayerFixedPositionRecorder {
16 WTF_MAKE_FAST_ALLOCATED(LayerFixedPositionRecorder);
17 public:
18 explicit LayerFixedPositionRecorder(GraphicsContext&, const LayoutBoxModelOb ject&);
19 ~LayerFixedPositionRecorder();
20
21 private:
22 GraphicsContext& m_graphicsContext;
23 const LayoutBoxModelObject& m_layoutObject;
24 bool m_isFixedPosition;
25 bool m_isFixedPositionContainer;
26 };
27
28 } // namespace blink
29
30 #endif // LayerFixedPositionRecorder_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698