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

Unified Diff: components/surfaces/surfaces_impl.h

Issue 1139673003: Make Mandoline shut down cleanly. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix X errors on Linux 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: components/surfaces/surfaces_impl.h
diff --git a/components/surfaces/surfaces_impl.h b/components/surfaces/surfaces_impl.h
index 5ff375d22e152c80d16466be8b7aef8c4a8683c6..4d0d9d286fdbf83a5e4e86b23e953ffbf73685f1 100644
--- a/components/surfaces/surfaces_impl.h
+++ b/components/surfaces/surfaces_impl.h
@@ -25,10 +25,12 @@ class ApplicationManager;
namespace surfaces {
class SurfacesScheduler;
+class SurfacesServiceApplication;
class SurfacesImpl : public mojo::Surface, public cc::SurfaceFactoryClient {
public:
- SurfacesImpl(cc::SurfaceManager* manager,
+ SurfacesImpl(SurfacesServiceApplication* application,
+ cc::SurfaceManager* manager,
uint32_t id_namespace,
SurfacesScheduler* scheduler,
mojo::InterfaceRequest<mojo::Surface> request);
@@ -52,6 +54,7 @@ class SurfacesImpl : public mojo::Surface, public cc::SurfaceFactoryClient {
private:
cc::SurfaceId QualifyIdentifier(uint32_t local_id);
+ SurfacesServiceApplication* application_;
cc::SurfaceManager* manager_;
cc::SurfaceFactory factory_;
const uint32_t id_namespace_;

Powered by Google App Engine
This is Rietveld 408576698