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

Unified Diff: cc/debug/rendering_stats_instrumentation.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/debug/rendering_stats_instrumentation.h ('k') | cc/debug/ring_buffer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/rendering_stats_instrumentation.cc
diff --git a/cc/debug/rendering_stats_instrumentation.cc b/cc/debug/rendering_stats_instrumentation.cc
index 94768c657d5a24d0472bae9ac6eaca4e2d33513b..de7057e74f688f8ea90bd63fe4f604a9938f2ec3 100644
--- a/cc/debug/rendering_stats_instrumentation.cc
+++ b/cc/debug/rendering_stats_instrumentation.cc
@@ -2,6 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
+#include <stdint.h>
+
#include "cc/debug/rendering_stats_instrumentation.h"
namespace cc {
@@ -37,7 +39,7 @@ void RenderingStatsInstrumentation::AccumulateAndClearImplThreadStats() {
impl_thread_rendering_stats_ = RenderingStats();
}
-void RenderingStatsInstrumentation::IncrementFrameCount(int64 count) {
+void RenderingStatsInstrumentation::IncrementFrameCount(int64_t count) {
if (!record_rendering_stats_)
return;
@@ -45,7 +47,7 @@ void RenderingStatsInstrumentation::IncrementFrameCount(int64 count) {
impl_thread_rendering_stats_.frame_count += count;
}
-void RenderingStatsInstrumentation::AddVisibleContentArea(int64 area) {
+void RenderingStatsInstrumentation::AddVisibleContentArea(int64_t area) {
if (!record_rendering_stats_)
return;
@@ -54,7 +56,7 @@ void RenderingStatsInstrumentation::AddVisibleContentArea(int64 area) {
}
void RenderingStatsInstrumentation::AddApproximatedVisibleContentArea(
- int64 area) {
+ int64_t area) {
if (!record_rendering_stats_)
return;
@@ -63,7 +65,7 @@ void RenderingStatsInstrumentation::AddApproximatedVisibleContentArea(
}
void RenderingStatsInstrumentation::AddCheckerboardedVisibleContentArea(
- int64 area) {
+ int64_t area) {
if (!record_rendering_stats_)
return;
@@ -72,7 +74,7 @@ void RenderingStatsInstrumentation::AddCheckerboardedVisibleContentArea(
}
void RenderingStatsInstrumentation::AddCheckerboardedNoRecordingContentArea(
- int64 area) {
+ int64_t area) {
if (!record_rendering_stats_)
return;
@@ -81,7 +83,7 @@ void RenderingStatsInstrumentation::AddCheckerboardedNoRecordingContentArea(
}
void RenderingStatsInstrumentation::AddCheckerboardedNeedsRasterContentArea(
- int64 area) {
+ int64_t area) {
if (!record_rendering_stats_)
return;
« no previous file with comments | « cc/debug/rendering_stats_instrumentation.h ('k') | cc/debug/ring_buffer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698