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

Unified Diff: cc/resources/video_resource_updater_unittest.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/resources/video_resource_updater.cc ('k') | cc/scheduler/begin_frame_source.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/resources/video_resource_updater_unittest.cc
diff --git a/cc/resources/video_resource_updater_unittest.cc b/cc/resources/video_resource_updater_unittest.cc
index 689de6817943dc7c92ebdc73fd96b289fea1ccc4..064829e0a57b2981b7aac5d2211c309b80cbc183 100644
--- a/cc/resources/video_resource_updater_unittest.cc
+++ b/cc/resources/video_resource_updater_unittest.cc
@@ -4,6 +4,9 @@
#include "cc/resources/video_resource_updater.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include "cc/resources/resource_provider.h"
#include "cc/test/fake_output_surface.h"
#include "cc/test/fake_output_surface_client.h"
@@ -80,9 +83,9 @@ class VideoResourceUpdaterTest : public testing::Test {
scoped_refptr<media::VideoFrame> CreateTestYUVVideoFrame() {
const int kDimension = 10;
gfx::Size size(kDimension, kDimension);
- static uint8 y_data[kDimension * kDimension] = { 0 };
- static uint8 u_data[kDimension * kDimension / 2] = { 0 };
- static uint8 v_data[kDimension * kDimension / 2] = { 0 };
+ static uint8_t y_data[kDimension * kDimension] = {0};
+ static uint8_t u_data[kDimension * kDimension / 2] = {0};
+ static uint8_t v_data[kDimension * kDimension / 2] = {0};
return media::VideoFrame::WrapExternalYuvData(
media::PIXEL_FORMAT_YV16, // format
« no previous file with comments | « cc/resources/video_resource_updater.cc ('k') | cc/scheduler/begin_frame_source.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698