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

Side by Side Diff: cc/surfaces/surface_aggregator.h

Issue 2847553002: cc: Replace some instances of unordered_map with base::flat_map. (Closed)
Patch Set: Created 3 years, 8 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 CC_SURFACES_SURFACE_AGGREGATOR_H_ 5 #ifndef CC_SURFACES_SURFACE_AGGREGATOR_H_
6 #define CC_SURFACES_SURFACE_AGGREGATOR_H_ 6 #define CC_SURFACES_SURFACE_AGGREGATOR_H_
7 7
8 #include <memory> 8 #include <memory>
9 #include <unordered_map>
9 10
10 #include "base/containers/flat_map.h" 11 #include "base/containers/flat_map.h"
11 #include "base/containers/flat_set.h" 12 #include "base/containers/flat_set.h"
12 #include "base/macros.h" 13 #include "base/macros.h"
13 #include "base/memory/weak_ptr.h" 14 #include "base/memory/weak_ptr.h"
14 #include "cc/quads/draw_quad.h" 15 #include "cc/quads/draw_quad.h"
15 #include "cc/quads/render_pass.h" 16 #include "cc/quads/render_pass.h"
16 #include "cc/resources/transferable_resource.h" 17 #include "cc/resources/transferable_resource.h"
17 #include "cc/surfaces/surface_id.h" 18 #include "cc/surfaces/surface_id.h"
18 #include "cc/surfaces/surfaces_export.h" 19 #include "cc/surfaces/surfaces_export.h"
(...skipping 187 matching lines...) Expand 10 before | Expand all | Expand 10 after
206 SurfaceDrawQuadUmaStats uma_stats_; 207 SurfaceDrawQuadUmaStats uma_stats_;
207 208
208 base::WeakPtrFactory<SurfaceAggregator> weak_factory_; 209 base::WeakPtrFactory<SurfaceAggregator> weak_factory_;
209 210
210 DISALLOW_COPY_AND_ASSIGN(SurfaceAggregator); 211 DISALLOW_COPY_AND_ASSIGN(SurfaceAggregator);
211 }; 212 };
212 213
213 } // namespace cc 214 } // namespace cc
214 215
215 #endif // CC_SURFACES_SURFACE_AGGREGATOR_H_ 216 #endif // CC_SURFACES_SURFACE_AGGREGATOR_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698