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

Side by Side Diff: cc/layers/layer_impl.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_impl.h ('k') | cc/layers/layer_iterator.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 2012 The Chromium Authors. All rights reserved. 1 // Copyright 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 "cc/layers/layer_impl.h" 5 #include "cc/layers/layer_impl.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include <utility> 10 #include <utility>
8 11
9 #include "base/json/json_reader.h" 12 #include "base/json/json_reader.h"
10 #include "base/numerics/safe_conversions.h" 13 #include "base/numerics/safe_conversions.h"
11 #include "base/strings/stringprintf.h" 14 #include "base/strings/stringprintf.h"
12 #include "base/trace_event/trace_event.h" 15 #include "base/trace_event/trace_event.h"
13 #include "base/trace_event/trace_event_argument.h" 16 #include "base/trace_event/trace_event_argument.h"
14 #include "cc/animation/animation_registrar.h" 17 #include "cc/animation/animation_registrar.h"
15 #include "cc/animation/mutable_properties.h" 18 #include "cc/animation/mutable_properties.h"
16 #include "cc/base/math_util.h" 19 #include "cc/base/math_util.h"
(...skipping 1880 matching lines...) Expand 10 before | Expand all | Expand 10 after
1897 .layer_transforms_should_scale_layer_contents) { 1900 .layer_transforms_should_scale_layer_contents) {
1898 return default_scale; 1901 return default_scale;
1899 } 1902 }
1900 1903
1901 gfx::Vector2dF transform_scales = MathUtil::ComputeTransform2dScaleComponents( 1904 gfx::Vector2dF transform_scales = MathUtil::ComputeTransform2dScaleComponents(
1902 DrawTransform(), default_scale); 1905 DrawTransform(), default_scale);
1903 return std::max(transform_scales.x(), transform_scales.y()); 1906 return std::max(transform_scales.x(), transform_scales.y());
1904 } 1907 }
1905 1908
1906 } // namespace cc 1909 } // namespace cc
OLDNEW
« no previous file with comments | « cc/layers/layer_impl.h ('k') | cc/layers/layer_iterator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698