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

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

Issue 1139903005: Add PERSISTENT_MAP usage for GpuMemoryBuffers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: persistentmap: fixmandolinebetter Created 5 years, 7 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 side-by-side diff with in-line comments
Download patch
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 431eea5afb5cda16b1138633b5657909bd3184dc..2bfdedc4c3cf7f56daaafe635684e3f4b528fdfc 100644
--- a/ui/compositor/test/in_process_context_factory.cc
+++ b/ui/compositor/test/in_process_context_factory.cc
@@ -177,7 +177,11 @@ bool InProcessContextFactory::DoesCreateTestContexts() {
return context_factory_for_test_;
}
-uint32 InProcessContextFactory::GetImageTextureTarget() {
+uint32 InProcessContextFactory::GetMapImageTextureTarget() {
+ return GL_TEXTURE_2D;
+}
+
+uint32 InProcessContextFactory::GetPersistentMapImageTextureTarget() {
return GL_TEXTURE_2D;
}

Powered by Google App Engine
This is Rietveld 408576698