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

Unified Diff: mojo/aura/context_factory_mojo.h

Issue 553213003: Avoid destroying surface before the parent surface stops referencing it. (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
Index: mojo/aura/context_factory_mojo.h
diff --git a/mojo/aura/context_factory_mojo.h b/mojo/aura/context_factory_mojo.h
index 437359dd4d894cf5fd207063ee8cf2775a1f4abc..0ea2fe3bd4cdf9f3426f85980b95ecf7050fb3b6 100644
--- a/mojo/aura/context_factory_mojo.h
+++ b/mojo/aura/context_factory_mojo.h
@@ -30,8 +30,11 @@ class ContextFactoryMojo : public ui::ContextFactory {
virtual bool DoesCreateTestContexts() override;
virtual cc::SharedBitmapManager* GetSharedBitmapManager() override;
virtual base::MessageLoopProxy* GetCompositorMessageLoop() override;
+ virtual scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator()
+ override;
scoped_ptr<cc::SharedBitmapManager> shared_bitmap_manager_;
+ uint32_t next_surface_id_namespace_;
DISALLOW_COPY_AND_ASSIGN(ContextFactoryMojo);
};

Powered by Google App Engine
This is Rietveld 408576698