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

Unified Diff: cc/surfaces/surface_factory.h

Issue 1128733002: Update from https://crrev.com/328418 (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: 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
« no previous file with comments | « cc/surfaces/surface_aggregator.h ('k') | mojo/common/task_tracker.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 b6b627fb28ae3a202771e0d34557181d121f45d4..afc0b8133df15b8d9a22e59d5727e9a567942ce9 100644
--- a/cc/surfaces/surface_factory.h
+++ b/cc/surfaces/surface_factory.h
@@ -68,8 +68,8 @@ class CC_SURFACES_EXPORT SurfaceFactory
SurfaceFactoryClient* client_;
SurfaceResourceHolder holder_;
- typedef base::ScopedPtrHashMap<SurfaceId, Surface> OwningSurfaceMap;
- base::ScopedPtrHashMap<SurfaceId, Surface> surface_map_;
+ typedef base::ScopedPtrHashMap<SurfaceId, scoped_ptr<Surface>> OwningSurfaceMap;
+ OwningSurfaceMap surface_map_;
DISALLOW_COPY_AND_ASSIGN(SurfaceFactory);
};
« no previous file with comments | « cc/surfaces/surface_aggregator.h ('k') | mojo/common/task_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698