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

Side by Side Diff: cc/test/test_gpu_memory_buffer_manager.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 4 years, 12 months 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 unified diff | Download patch
« no previous file with comments | « cc/test/test_gpu_memory_buffer_manager.h ('k') | cc/test/test_image_factory.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/test/test_gpu_memory_buffer_manager.h" 5 #include "cc/test/test_gpu_memory_buffer_manager.h"
6 6
7 #include <stddef.h>
8 #include <stdint.h>
9
7 #include "base/logging.h" 10 #include "base/logging.h"
8 #include "base/numerics/safe_conversions.h" 11 #include "base/numerics/safe_conversions.h"
9 #include "ui/gfx/buffer_format_util.h" 12 #include "ui/gfx/buffer_format_util.h"
10 #include "ui/gfx/gpu_memory_buffer.h" 13 #include "ui/gfx/gpu_memory_buffer.h"
11 14
12 namespace cc { 15 namespace cc {
13 namespace { 16 namespace {
14 17
15 class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer { 18 class GpuMemoryBufferImpl : public gfx::GpuMemoryBuffer {
16 public: 19 public:
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after
119 TestGpuMemoryBufferManager::GpuMemoryBufferFromClientBuffer( 122 TestGpuMemoryBufferManager::GpuMemoryBufferFromClientBuffer(
120 ClientBuffer buffer) { 123 ClientBuffer buffer) {
121 return reinterpret_cast<gfx::GpuMemoryBuffer*>(buffer); 124 return reinterpret_cast<gfx::GpuMemoryBuffer*>(buffer);
122 } 125 }
123 126
124 void TestGpuMemoryBufferManager::SetDestructionSyncToken( 127 void TestGpuMemoryBufferManager::SetDestructionSyncToken(
125 gfx::GpuMemoryBuffer* buffer, 128 gfx::GpuMemoryBuffer* buffer,
126 const gpu::SyncToken& sync_token) {} 129 const gpu::SyncToken& sync_token) {}
127 130
128 } // namespace cc 131 } // namespace cc
OLDNEW
« no previous file with comments | « cc/test/test_gpu_memory_buffer_manager.h ('k') | cc/test/test_image_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698