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

Unified Diff: components/display_compositor/buffer_queue_unittest.cc

Issue 2526683002: gpu: Rename AllocateGpuMemoryBuffer to CreateGpuMemoryBuffer. (Closed)
Patch Set: . Created 4 years, 1 month 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 | « components/display_compositor/buffer_queue.cc ('k') | components/exo/test/exo_test_helper.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/display_compositor/buffer_queue_unittest.cc
diff --git a/components/display_compositor/buffer_queue_unittest.cc b/components/display_compositor/buffer_queue_unittest.cc
index 17ef79b0a8c3ccf4815ea7187d6e67d880a74ccd..086158ede96afa10aea4d741d67ec1e937848bf3 100644
--- a/components/display_compositor/buffer_queue_unittest.cc
+++ b/components/display_compositor/buffer_queue_unittest.cc
@@ -66,13 +66,13 @@ class StubGpuMemoryBufferManager : public cc::TestGpuMemoryBufferManager {
void set_allocate_succeeds(bool value) { allocate_succeeds_ = value; }
- std::unique_ptr<gfx::GpuMemoryBuffer> AllocateGpuMemoryBuffer(
+ std::unique_ptr<gfx::GpuMemoryBuffer> CreateGpuMemoryBuffer(
const gfx::Size& size,
gfx::BufferFormat format,
gfx::BufferUsage usage,
gpu::SurfaceHandle surface_handle) override {
if (!surface_handle) {
- return TestGpuMemoryBufferManager::AllocateGpuMemoryBuffer(
+ return TestGpuMemoryBufferManager::CreateGpuMemoryBuffer(
size, format, usage, surface_handle);
}
if (allocate_succeeds_)
« no previous file with comments | « components/display_compositor/buffer_queue.cc ('k') | components/exo/test/exo_test_helper.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698