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

Side by Side Diff: cc/surfaces/surface_manager.cc

Issue 1539203002: Switch to standard integer types in cc/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more includes Created 5 years 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
« no previous file with comments | « cc/surfaces/surface_manager.h ('k') | cc/surfaces/surface_sequence.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #include "cc/surfaces/surface_manager.h" 5 #include "cc/surfaces/surface_manager.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include "base/logging.h" 10 #include "base/logging.h"
8 #include "cc/surfaces/surface.h" 11 #include "cc/surfaces/surface.h"
9 #include "cc/surfaces/surface_id_allocator.h" 12 #include "cc/surfaces/surface_id_allocator.h"
10 13
11 namespace cc { 14 namespace cc {
12 15
13 SurfaceManager::SurfaceManager() { 16 SurfaceManager::SurfaceManager() {
14 thread_checker_.DetachFromThread(); 17 thread_checker_.DetachFromThread();
15 } 18 }
16 19
(...skipping 110 matching lines...) Expand 10 before | Expand all | Expand 10 after
127 130
128 bool SurfaceManager::SurfaceModified(SurfaceId surface_id) { 131 bool SurfaceManager::SurfaceModified(SurfaceId surface_id) {
129 DCHECK(thread_checker_.CalledOnValidThread()); 132 DCHECK(thread_checker_.CalledOnValidThread());
130 bool changed = false; 133 bool changed = false;
131 FOR_EACH_OBSERVER(SurfaceDamageObserver, observer_list_, 134 FOR_EACH_OBSERVER(SurfaceDamageObserver, observer_list_,
132 OnSurfaceDamaged(surface_id, &changed)); 135 OnSurfaceDamaged(surface_id, &changed));
133 return changed; 136 return changed;
134 } 137 }
135 138
136 } // namespace cc 139 } // namespace cc
OLDNEW
« no previous file with comments | « cc/surfaces/surface_manager.h ('k') | cc/surfaces/surface_sequence.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698