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

Side by Side Diff: cc/trees/layer_tree_host.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/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_host_common.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 2011 The Chromium Authors. All rights reserved. 1 // Copyright 2011 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/trees/layer_tree_host.h" 5 #include "cc/trees/layer_tree_host.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <algorithm> 10 #include <algorithm>
8 #include <stack> 11 #include <stack>
9 #include <string> 12 #include <string>
10 13
11 #include "base/atomic_sequence_num.h" 14 #include "base/atomic_sequence_num.h"
12 #include "base/auto_reset.h" 15 #include "base/auto_reset.h"
13 #include "base/bind.h" 16 #include "base/bind.h"
14 #include "base/command_line.h" 17 #include "base/command_line.h"
15 #include "base/location.h" 18 #include "base/location.h"
16 #include "base/metrics/histogram.h" 19 #include "base/metrics/histogram.h"
(...skipping 1250 matching lines...) Expand 10 before | Expand all | Expand 10 after
1267 return compositor_mode_ == CompositorMode::SingleThreaded; 1270 return compositor_mode_ == CompositorMode::SingleThreaded;
1268 } 1271 }
1269 1272
1270 bool LayerTreeHost::IsThreaded() const { 1273 bool LayerTreeHost::IsThreaded() const {
1271 DCHECK(compositor_mode_ != CompositorMode::Threaded || 1274 DCHECK(compositor_mode_ != CompositorMode::Threaded ||
1272 task_runner_provider_->HasImplThread()); 1275 task_runner_provider_->HasImplThread());
1273 return compositor_mode_ == CompositorMode::Threaded; 1276 return compositor_mode_ == CompositorMode::Threaded;
1274 } 1277 }
1275 1278
1276 } // namespace cc 1279 } // namespace cc
OLDNEW
« no previous file with comments | « cc/trees/layer_tree_host.h ('k') | cc/trees/layer_tree_host_common.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698