Chromium Code Reviews

Unified Diff: ui/compositor/test/in_process_context_factory.cc

Issue 1269503007: Unify graphics buffer format & usage enums for GpuMemoryBuffer & SurfaceFactoryOzone (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix our IPC_MESSAGE_EXPORT affecting printing_messages.h Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
Index: ui/compositor/test/in_process_context_factory.cc
diff --git a/ui/compositor/test/in_process_context_factory.cc b/ui/compositor/test/in_process_context_factory.cc
index a6620e702539e1719465f08cb4135d2c589e37c2..1199178101771791145129aadef987630c92adda 100644
--- a/ui/compositor/test/in_process_context_factory.cc
+++ b/ui/compositor/test/in_process_context_factory.cc
@@ -179,9 +179,8 @@ bool InProcessContextFactory::DoesCreateTestContexts() {
return context_factory_for_test_;
}
-uint32 InProcessContextFactory::GetImageTextureTarget(
- gfx::GpuMemoryBuffer::Format format,
- gfx::GpuMemoryBuffer::Usage usage) {
+uint32 InProcessContextFactory::GetImageTextureTarget(gfx::BufferFormat format,
+ gfx::BufferUsage usage) {
return GL_TEXTURE_2D;
}

Powered by Google App Engine