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

Unified Diff: content/renderer/media/renderer_gpu_video_accelerator_factories.h

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.h
diff --git a/content/renderer/media/renderer_gpu_video_accelerator_factories.h b/content/renderer/media/renderer_gpu_video_accelerator_factories.h
index 5f68546ca2f0220f424e1bac8959a6c3acdde8cb..b9bdd149dd4840749d556274e623bd3198c81da6 100644
--- a/content/renderer/media/renderer_gpu_video_accelerator_factories.h
+++ b/content/renderer/media/renderer_gpu_video_accelerator_factories.h
@@ -5,9 +5,12 @@
#ifndef CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_
#define CONTENT_RENDERER_MEDIA_RENDERER_GPU_VIDEO_ACCELERATOR_FACTORIES_H_
+#include <stddef.h>
+#include <stdint.h>
+
#include <vector>
-#include "base/basictypes.h"
+#include "base/macros.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/synchronization/waitable_event.h"
@@ -60,12 +63,12 @@ class CONTENT_EXPORT RendererGpuVideoAcceleratorFactories
override;
// Creates textures and produces them into mailboxes. Returns true on success
// or false on failure.
- bool CreateTextures(int32 count,
+ bool CreateTextures(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) override;
- void DeleteTexture(uint32 texture_id) override;
+ uint32_t texture_target) override;
+ void DeleteTexture(uint32_t texture_id) override;
void WaitSyncToken(const gpu::SyncToken& sync_token) override;
scoped_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer(

Powered by Google App Engine
This is Rietveld 408576698