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

Side by Side Diff: content/renderer/gpu/render_widget_compositor.cc

Issue 1547073003: Switch to standard integer types in content/renderer/. (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) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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 "content/renderer/gpu/render_widget_compositor.h" 5 #include "content/renderer/gpu/render_widget_compositor.h"
6 6
7 #include <stddef.h>
8
7 #include <limits> 9 #include <limits>
8 #include <string> 10 #include <string>
9 11
10 #include "base/command_line.h" 12 #include "base/command_line.h"
11 #include "base/location.h" 13 #include "base/location.h"
12 #include "base/logging.h" 14 #include "base/logging.h"
13 #include "base/numerics/safe_conversions.h" 15 #include "base/numerics/safe_conversions.h"
14 #include "base/single_thread_task_runner.h" 16 #include "base/single_thread_task_runner.h"
15 #include "base/strings/string_number_conversions.h" 17 #include "base/strings/string_number_conversions.h"
16 #include "base/synchronization/lock.h" 18 #include "base/synchronization/lock.h"
17 #include "base/sys_info.h" 19 #include "base/sys_info.h"
18 #include "base/thread_task_runner_handle.h" 20 #include "base/thread_task_runner_handle.h"
19 #include "base/time/time.h" 21 #include "base/time/time.h"
20 #include "base/values.h" 22 #include "base/values.h"
23 #include "build/build_config.h"
21 #include "cc/animation/animation_host.h" 24 #include "cc/animation/animation_host.h"
22 #include "cc/animation/animation_timeline.h" 25 #include "cc/animation/animation_timeline.h"
23 #include "cc/base/switches.h" 26 #include "cc/base/switches.h"
24 #include "cc/blink/web_compositor_animation_timeline_impl.h" 27 #include "cc/blink/web_compositor_animation_timeline_impl.h"
25 #include "cc/blink/web_layer_impl.h" 28 #include "cc/blink/web_layer_impl.h"
26 #include "cc/debug/layer_tree_debug_state.h" 29 #include "cc/debug/layer_tree_debug_state.h"
27 #include "cc/debug/micro_benchmark.h" 30 #include "cc/debug/micro_benchmark.h"
28 #include "cc/input/layer_selection_bound.h" 31 #include "cc/input/layer_selection_bound.h"
29 #include "cc/layers/layer.h" 32 #include "cc/layers/layer.h"
30 #include "cc/output/begin_frame_args.h" 33 #include "cc/output/begin_frame_args.h"
(...skipping 1082 matching lines...) Expand 10 before | Expand all | Expand 10 after
1113 #endif 1116 #endif
1114 return actual; 1117 return actual;
1115 } 1118 }
1116 1119
1117 void RenderWidgetCompositor::SetPaintedDeviceScaleFactor( 1120 void RenderWidgetCompositor::SetPaintedDeviceScaleFactor(
1118 float device_scale) { 1121 float device_scale) {
1119 layer_tree_host_->SetPaintedDeviceScaleFactor(device_scale); 1122 layer_tree_host_->SetPaintedDeviceScaleFactor(device_scale);
1120 } 1123 }
1121 1124
1122 } // namespace content 1125 } // namespace content
OLDNEW
« no previous file with comments | « content/renderer/gpu/render_widget_compositor.h ('k') | content/renderer/gpu/render_widget_compositor_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698