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

Unified Diff: components/exo/test/exo_test_helper.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
Index: components/exo/test/exo_test_helper.cc
diff --git a/components/exo/test/exo_test_helper.cc b/components/exo/test/exo_test_helper.cc
index 9a5ca121f834f0c4f611e61149e72a914a50037d..4abac957cd3cd7f57710d6ff9bdffccd9560d4e3 100644
--- a/components/exo/test/exo_test_helper.cc
+++ b/components/exo/test/exo_test_helper.cc
@@ -23,9 +23,9 @@ std::unique_ptr<gfx::GpuMemoryBuffer> ExoTestHelper::CreateGpuMemoryBuffer(
return aura::Env::GetInstance()
->context_factory()
->GetGpuMemoryBufferManager()
- ->AllocateGpuMemoryBuffer(size, gfx::BufferFormat::RGBA_8888,
- gfx::BufferUsage::GPU_READ,
- gpu::kNullSurfaceHandle);
+ ->CreateGpuMemoryBuffer(size, gfx::BufferFormat::RGBA_8888,
+ gfx::BufferUsage::GPU_READ,
+ gpu::kNullSurfaceHandle);
}
} // namespace test
« no previous file with comments | « components/display_compositor/buffer_queue_unittest.cc ('k') | content/browser/gpu/browser_gpu_memory_buffer_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698