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

Side by Side Diff: gpu/command_buffer/service/sync_point_manager.cc

Issue 1544283002: Clean up header files. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 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 (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 #include "gpu/command_buffer/service/sync_point_manager.h" 5 #include "gpu/command_buffer/service/sync_point_manager.h"
6 6
7 #include <limits.h>
7 #include <stddef.h> 8 #include <stddef.h>
8 #include <stdint.h> 9 #include <stdint.h>
9 10
10 #include <climits> 11 #include <climits>
11 12
12 #include "base/bind.h" 13 #include "base/bind.h"
13 #include "base/containers/hash_tables.h" 14 #include "base/containers/hash_tables.h"
14 #include "base/location.h" 15 #include "base/location.h"
15 #include "base/logging.h" 16 #include "base/logging.h"
16 #include "base/rand_util.h" 17 #include "base/rand_util.h"
(...skipping 419 matching lines...) Expand 10 before | Expand all | Expand 10 after
436 DCHECK_LT(static_cast<size_t>(namespace_id), arraysize(client_maps_)); 437 DCHECK_LT(static_cast<size_t>(namespace_id), arraysize(client_maps_));
437 438
438 base::AutoLock auto_lock(client_maps_lock_); 439 base::AutoLock auto_lock(client_maps_lock_);
439 ClientMap& client_map = client_maps_[namespace_id]; 440 ClientMap& client_map = client_maps_[namespace_id];
440 ClientMap::iterator it = client_map.find(client_id); 441 ClientMap::iterator it = client_map.find(client_id);
441 DCHECK(it != client_map.end()); 442 DCHECK(it != client_map.end());
442 client_map.erase(it); 443 client_map.erase(it);
443 } 444 }
444 445
445 } // namespace gpu 446 } // namespace gpu
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698