Index: content/browser/android/in_process_surface_texture_manager.cc |
diff --git a/content/browser/android/in_process_surface_texture_manager.cc b/content/browser/android/in_process_surface_texture_manager.cc |
index 23dc67c2e8ced942561f4bbde44c01daccd3706a..1b46c11cc83e4885779d48293c16f32a3318dd0f 100644 |
--- a/content/browser/android/in_process_surface_texture_manager.cc |
+++ b/content/browser/android/in_process_surface_texture_manager.cc |
@@ -10,6 +10,7 @@ |
#include "base/android/jni_android.h" |
#include "base/containers/scoped_ptr_hash_map.h" |
#include "base/logging.h" |
+#include "base/memory/ptr_util.h" |
#include "content/browser/media/android/browser_media_player_manager.h" |
#include "content/public/browser/browser_thread.h" |
@@ -31,7 +32,7 @@ void InProcessSurfaceTextureManager::RegisterSurfaceTexture( |
DCHECK(surface_textures_.find(surface_texture_id) == surface_textures_.end()); |
surface_textures_.add( |
surface_texture_id, |
- make_scoped_ptr(new gfx::ScopedJavaSurface(surface_texture))); |
+ base::WrapUnique(new gfx::ScopedJavaSurface(surface_texture))); |
} |
void InProcessSurfaceTextureManager::UnregisterSurfaceTexture( |