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

Side by Side Diff: cc/layers/layer.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/layers/layer.h ('k') | cc/layers/layer_impl.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 2010 The Chromium Authors. All rights reserved. 1 // Copyright 2010 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/layers/layer.h" 5 #include "cc/layers/layer.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <algorithm> 10 #include <algorithm>
8 11
9 #include "base/atomic_sequence_num.h" 12 #include "base/atomic_sequence_num.h"
10 #include "base/location.h" 13 #include "base/location.h"
11 #include "base/metrics/histogram.h" 14 #include "base/metrics/histogram.h"
12 #include "base/single_thread_task_runner.h" 15 #include "base/single_thread_task_runner.h"
13 #include "base/time/time.h" 16 #include "base/time/time.h"
14 #include "base/trace_event/trace_event.h" 17 #include "base/trace_event/trace_event.h"
15 #include "cc/animation/animation.h" 18 #include "cc/animation/animation.h"
16 #include "cc/animation/animation_events.h" 19 #include "cc/animation/animation_events.h"
(...skipping 2021 matching lines...) Expand 10 before | Expand all | Expand 10 after
2038 this, layer_tree_host_->property_trees()->transform_tree); 2041 this, layer_tree_host_->property_trees()->transform_tree);
2039 } 2042 }
2040 2043
2041 gfx::Transform Layer::screen_space_transform() const { 2044 gfx::Transform Layer::screen_space_transform() const {
2042 DCHECK_NE(transform_tree_index_, -1); 2045 DCHECK_NE(transform_tree_index_, -1);
2043 return ScreenSpaceTransformFromPropertyTrees( 2046 return ScreenSpaceTransformFromPropertyTrees(
2044 this, layer_tree_host_->property_trees()->transform_tree); 2047 this, layer_tree_host_->property_trees()->transform_tree);
2045 } 2048 }
2046 2049
2047 } // namespace cc 2050 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/layer.h ('k') | cc/layers/layer_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698