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

Side by Side Diff: Source/core/layout/compositing/CompositingInputsUpdater.h

Issue 1318713003: Make classes and structures in core/layout 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 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 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 CompositingInputsUpdater_h 5 #ifndef CompositingInputsUpdater_h
6 #define CompositingInputsUpdater_h 6 #define CompositingInputsUpdater_h
7 7
8 #include "core/layout/LayoutGeometryMap.h" 8 #include "core/layout/LayoutGeometryMap.h"
9 #include "wtf/Allocator.h"
9 10
10 namespace blink { 11 namespace blink {
11 12
12 class DeprecatedPaintLayer; 13 class DeprecatedPaintLayer;
13 14
14 class CompositingInputsUpdater { 15 class CompositingInputsUpdater {
16 STACK_ALLOCATED();
15 public: 17 public:
16 explicit CompositingInputsUpdater(DeprecatedPaintLayer* rootLayer); 18 explicit CompositingInputsUpdater(DeprecatedPaintLayer* rootLayer);
17 ~CompositingInputsUpdater(); 19 ~CompositingInputsUpdater();
18 20
19 void update(); 21 void update();
20 22
21 #if ENABLE(ASSERT) 23 #if ENABLE(ASSERT)
22 static void assertNeedsCompositingInputsUpdateBitsCleared(DeprecatedPaintLay er*); 24 static void assertNeedsCompositingInputsUpdateBitsCleared(DeprecatedPaintLay er*);
23 #endif 25 #endif
24 26
(...skipping 27 matching lines...) Expand all
52 54
53 void updateRecursive(DeprecatedPaintLayer*, UpdateType, AncestorInfo); 55 void updateRecursive(DeprecatedPaintLayer*, UpdateType, AncestorInfo);
54 56
55 LayoutGeometryMap m_geometryMap; 57 LayoutGeometryMap m_geometryMap;
56 DeprecatedPaintLayer* m_rootLayer; 58 DeprecatedPaintLayer* m_rootLayer;
57 }; 59 };
58 60
59 } // namespace blink 61 } // namespace blink
60 62
61 #endif // CompositingInputsUpdater_h 63 #endif // CompositingInputsUpdater_h
OLDNEW
« no previous file with comments | « Source/core/layout/compositing/CompositedSelectionBound.h ('k') | Source/core/layout/compositing/CompositingLayerAssigner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698