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

Unified Diff: content/browser/aura/gpu_process_transport_factory.cc

Issue 22293003: Clean up compositor initialization/destruction. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cleanupcompositor: UseRealGLBindings in NetInternalsTest Created 7 years, 4 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: content/browser/aura/gpu_process_transport_factory.cc
diff --git a/content/browser/aura/gpu_process_transport_factory.cc b/content/browser/aura/gpu_process_transport_factory.cc
index 4a047c6f6ef21571c2c7d8427875b716367186f3..47b1533ae77617772a67355c9e988f37d19114d0 100644
--- a/content/browser/aura/gpu_process_transport_factory.cc
+++ b/content/browser/aura/gpu_process_transport_factory.cc
@@ -308,6 +308,8 @@ void GpuProcessTransportFactory::RemoveCompositor(ui::Compositor* compositor) {
gl_helper_.reset();
}
+bool GpuProcessTransportFactory::DoesCreateTestContexts() { return false; }
+
ui::ContextFactory* GpuProcessTransportFactory::AsContextFactory() {
return this;
}

Powered by Google App Engine
This is Rietveld 408576698