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

Unified Diff: mojo/aura/surface_context_factory.h

Issue 648413004: Make browser GPU channel creation async. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 2 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 | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | mojo/aura/surface_context_factory.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/aura/surface_context_factory.h
diff --git a/mojo/aura/surface_context_factory.h b/mojo/aura/surface_context_factory.h
index d60080ef9b91fc98632618dcb46b2d21b04eea52..bf3688ad2686072506ef1fa99a86ead22d8a504c 100644
--- a/mojo/aura/surface_context_factory.h
+++ b/mojo/aura/surface_context_factory.h
@@ -19,9 +19,8 @@ class SurfaceContextFactory : public ui::ContextFactory {
private:
// ContextFactory:
- scoped_ptr<cc::OutputSurface> CreateOutputSurface(
- ui::Compositor* compositor,
- bool software_fallback) override;
+ void CreateOutputSurface(base::WeakPtr<ui::Compositor> compositor,
+ bool software_fallback) override;
scoped_refptr<ui::Reflector> CreateReflector(
ui::Compositor* mirrored_compositor,
ui::Layer* mirroring_layer) override;
« no previous file with comments | « content/browser/compositor/gpu_process_transport_factory.cc ('k') | mojo/aura/surface_context_factory.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698