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

Unified Diff: cc/layers/texture_layer_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/layers/texture_layer_impl_unittest.cc ('k') | cc/layers/ui_resource_layer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/layers/texture_layer_unittest.cc
diff --git a/cc/layers/texture_layer_unittest.cc b/cc/layers/texture_layer_unittest.cc
index c7c64b6f205930673abb4f6fb729bd393ef5e40e..31313afa3df22ddafae290373e91a627a2575611 100644
--- a/cc/layers/texture_layer_unittest.cc
+++ b/cc/layers/texture_layer_unittest.cc
@@ -4,12 +4,16 @@
#include "cc/layers/texture_layer.h"
+#include <stddef.h>
+#include <stdint.h>
+
#include <algorithm>
#include <string>
#include "base/bind.h"
#include "base/callback.h"
#include "base/location.h"
+#include "base/macros.h"
#include "base/single_thread_task_runner.h"
#include "base/synchronization/lock.h"
#include "base/synchronization/waitable_event.h"
@@ -151,8 +155,8 @@ struct CommonMailboxObjects {
release_mailbox2_impl_ = base::Bind(&MockMailboxCallback::ReleaseImpl,
base::Unretained(&mock_callback_),
mailbox_name2_);
- const uint32 arbitrary_target1 = GL_TEXTURE_2D;
- const uint32 arbitrary_target2 = GL_TEXTURE_EXTERNAL_OES;
+ const uint32_t arbitrary_target1 = GL_TEXTURE_2D;
+ const uint32_t arbitrary_target2 = GL_TEXTURE_EXTERNAL_OES;
mailbox1_ = TextureMailbox(mailbox_name1_, sync_token1_, arbitrary_target1);
mailbox2_ = TextureMailbox(mailbox_name2_, sync_token2_, arbitrary_target2);
gfx::Size size(128, 128);
« no previous file with comments | « cc/layers/texture_layer_impl_unittest.cc ('k') | cc/layers/ui_resource_layer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698