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

Unified Diff: content/renderer/media/renderer_gpu_video_accelerator_factories.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 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
Index: content/renderer/media/renderer_gpu_video_accelerator_factories.cc
diff --git a/content/renderer/media/renderer_gpu_video_accelerator_factories.cc b/content/renderer/media/renderer_gpu_video_accelerator_factories.cc
index 8c403c6cf4b40eda70c1b4cf319f9262d32d21f0..c3a0cd1c4913a1d2bd0febdf4139cc72f4b3a6ad 100644
--- a/content/renderer/media/renderer_gpu_video_accelerator_factories.cc
+++ b/content/renderer/media/renderer_gpu_video_accelerator_factories.cc
@@ -106,11 +106,11 @@ RendererGpuVideoAcceleratorFactories::CreateVideoEncodeAccelerator() {
}
bool RendererGpuVideoAcceleratorFactories::CreateTextures(
- int32 count,
+ int32_t count,
const gfx::Size& size,
- std::vector<uint32>* texture_ids,
+ std::vector<uint32_t>* texture_ids,
std::vector<gpu::Mailbox>* texture_mailboxes,
- uint32 texture_target) {
+ uint32_t texture_target) {
DCHECK(task_runner_->BelongsToCurrentThread());
DCHECK(texture_target);
@@ -123,7 +123,7 @@ bool RendererGpuVideoAcceleratorFactories::CreateTextures(
gles2->GenTextures(count, &texture_ids->at(0));
for (int i = 0; i < count; ++i) {
gles2->ActiveTexture(GL_TEXTURE0);
- uint32 texture_id = texture_ids->at(i);
+ uint32_t texture_id = texture_ids->at(i);
gles2->BindTexture(texture_target, texture_id);
gles2->TexParameteri(texture_target, GL_TEXTURE_MIN_FILTER, GL_LINEAR);
gles2->TexParameteri(texture_target, GL_TEXTURE_MAG_FILTER, GL_LINEAR);
@@ -154,7 +154,7 @@ bool RendererGpuVideoAcceleratorFactories::CreateTextures(
return true;
}
-void RendererGpuVideoAcceleratorFactories::DeleteTexture(uint32 texture_id) {
+void RendererGpuVideoAcceleratorFactories::DeleteTexture(uint32_t texture_id) {
DCHECK(task_runner_->BelongsToCurrentThread());
if (CheckContextLost())
return;

Powered by Google App Engine
This is Rietveld 408576698