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

Unified Diff: cc/surfaces/surface_factory.h

Issue 603703002: Fix SurfaceResourceHolder destruction order (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: test Created 6 years, 3 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 | « no previous file | cc/surfaces/surface_factory_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/surfaces/surface_factory.h
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h
index 0a2ece7aeed11047d2c8ec1bd42c599322e3811d..2516015f506e9ff10ff54de2fd647f3d2f679555 100644
--- a/cc/surfaces/surface_factory.h
+++ b/cc/surfaces/surface_factory.h
@@ -55,11 +55,11 @@ class CC_SURFACES_EXPORT SurfaceFactory
private:
SurfaceManager* manager_;
SurfaceFactoryClient* client_;
+ SurfaceResourceHolder holder_;
+
typedef base::ScopedPtrHashMap<SurfaceId, Surface> OwningSurfaceMap;
base::ScopedPtrHashMap<SurfaceId, Surface> surface_map_;
- SurfaceResourceHolder holder_;
-
DISALLOW_COPY_AND_ASSIGN(SurfaceFactory);
};
« no previous file with comments | « no previous file | cc/surfaces/surface_factory_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698