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

Unified Diff: ui/gl/gpu_timing_unittest.cc

Issue 1545113002: Switch to standard integer types in ui/gl/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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 | « ui/gl/gpu_timing_fake.h ('k') | ui/gl/scoped_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/gl/gpu_timing_unittest.cc
diff --git a/ui/gl/gpu_timing_unittest.cc b/ui/gl/gpu_timing_unittest.cc
index 865eb24b049fc8dbb6cebc1d06760ca9e2a1e9ab..222fa55612b403e51a1745c23824311a7db17cfb 100644
--- a/ui/gl/gpu_timing_unittest.cc
+++ b/ui/gl/gpu_timing_unittest.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 "base/bind.h"
#include "base/memory/scoped_ptr.h"
#include "testing/gtest/include/gtest/gtest.h"
@@ -125,7 +127,7 @@ TEST_F(GPUTimingTest, QueryTimeStampTest) {
EXPECT_EQ(0, gpu_timer->GetDeltaElapsed());
- int64 start, end;
+ int64_t start, end;
gpu_timer->GetStartEndTimestamps(&start, &end);
EXPECT_EQ(begin_cpu_time, start);
EXPECT_EQ(begin_cpu_time, end);
@@ -155,7 +157,7 @@ TEST_F(GPUTimingTest, QueryTimeStampUsingElapsedTest) {
EXPECT_TRUE(gpu_timer->IsAvailable());
EXPECT_EQ(0, gpu_timer->GetDeltaElapsed());
- int64 start, end;
+ int64_t start, end;
gpu_timer->GetStartEndTimestamps(&start, &end);
EXPECT_EQ(begin_cpu_time, start);
EXPECT_EQ(begin_cpu_time, end);
« no previous file with comments | « ui/gl/gpu_timing_fake.h ('k') | ui/gl/scoped_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698