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

Unified Diff: cc/surfaces/surface_factory.h

Issue 1099383002: Change ScopedPtrHashMap's 2nd template parameter (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix build after rebase Created 5 years, 8 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: cc/surfaces/surface_factory.h
diff --git a/cc/surfaces/surface_factory.h b/cc/surfaces/surface_factory.h
index c83fa32a652fc1f9ed09bdb50e090cf2d16b8cf4..3b57619f5586efcf33bdc9446425170b27500e32 100644
--- a/cc/surfaces/surface_factory.h
+++ b/cc/surfaces/surface_factory.h
@@ -76,8 +76,9 @@ class CC_SURFACES_EXPORT SurfaceFactory
bool needs_sync_points_;
- typedef base::ScopedPtrHashMap<SurfaceId, Surface> OwningSurfaceMap;
- base::ScopedPtrHashMap<SurfaceId, Surface> surface_map_;
+ typedef base::ScopedPtrHashMap<SurfaceId, scoped_ptr<Surface>>
+ OwningSurfaceMap;
+ base::ScopedPtrHashMap<SurfaceId, scoped_ptr<Surface>> surface_map_;
danakj 2015/04/24 17:15:10 nit: would you mind changing this to OwningSurface
kcwu 2015/04/27 13:28:03 Done.
DISALLOW_COPY_AND_ASSIGN(SurfaceFactory);
};

Powered by Google App Engine
This is Rietveld 408576698