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

Side by Side Diff: cc/playback/image_id.h

Issue 2668873002: cc: Add checker-imaging support to TileManager. (Closed)
Patch Set: all tests Created 3 years, 10 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 2017 The Chromium Authors. All rights reserved. 1 // Copyright 2017 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_PLAYBACK_IMAGE_ID_H_ 5 #ifndef CC_PLAYBACK_IMAGE_ID_H_
6 #define CC_PLAYBACK_IMAGE_ID_H_ 6 #define CC_PLAYBACK_IMAGE_ID_H_
7 7
8 #include <stdint.h>
9 #include <unordered_set>
10
11 #include "base/containers/flat_set.h"
12
8 namespace cc { 13 namespace cc {
9 14
10 using ImageId = uint32_t; 15 using ImageId = uint32_t;
16 using ImageIdSet = std::unordered_set<ImageId>;
17 using ImageIdFlatSet = base::flat_set<ImageId>;
vmpstr 2017/02/13 22:49:30 I don't really like that we have both an unordered
Khushal 2017/02/14 05:10:22 We were using the unordered_set for the internal s
11 18
12 } // namespace cc 19 } // namespace cc
13 20
14 #endif // CC_PLAYBACK_IMAGE_ID_H_ 21 #endif // CC_PLAYBACK_IMAGE_ID_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698