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

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

Issue 963223002: ui: Pass correct image texture target and one-copy settings to cc. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: usetexturetarget: exportswitch Created 5 years, 10 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
« no previous file with comments | « ui/compositor/test/in_process_context_factory.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 32c0f05e7f253bcc40deef990cd7fca79485d68e..e9ba92ed57f277809807d8f4ec90ede093a20d8c 100644
--- a/ui/compositor/test/in_process_context_factory.cc
+++ b/ui/compositor/test/in_process_context_factory.cc
@@ -140,7 +140,7 @@ void InProcessContextFactory::CreateOutputSurface(
}
scoped_ptr<Reflector> InProcessContextFactory::CreateReflector(
- Compositor* mirroed_compositor,
+ Compositor* mirrored_compositor,
Layer* mirroring_layer) {
return make_scoped_ptr(new FakeReflector);
}
@@ -175,6 +175,10 @@ bool InProcessContextFactory::DoesCreateTestContexts() {
return context_factory_for_test_;
}
+uint32 InProcessContextFactory::GetImageTextureTarget() {
+ return GL_TEXTURE_2D;
+}
+
cc::SharedBitmapManager* InProcessContextFactory::GetSharedBitmapManager() {
return &shared_bitmap_manager_;
}
« no previous file with comments | « ui/compositor/test/in_process_context_factory.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698