Index: media/base/android/media_drm_bridge_cdm_context.h |
diff --git a/media/base/android/media_drm_bridge_cdm_context.h b/media/base/android/media_drm_bridge_cdm_context.h |
index de76c5ec3b65ff4011c62d315edc119e62b44ac6..c11cc413fa7e6f9ea53ddf30b975e657c0484e74 100644 |
--- a/media/base/android/media_drm_bridge_cdm_context.h |
+++ b/media/base/android/media_drm_bridge_cdm_context.h |
@@ -7,10 +7,11 @@ |
#include <jni.h> |
+#include <memory> |
+ |
#include "base/android/scoped_java_ref.h" |
#include "base/callback.h" |
#include "base/macros.h" |
-#include "base/memory/scoped_ptr.h" |
#include "media/base/cdm_context.h" |
#include "media/base/media_export.h" |
#include "media/base/player_tracker.h" |
@@ -32,7 +33,8 @@ class MediaDrmBridge; |
class MEDIA_EXPORT MediaDrmBridgeCdmContext : public CdmContext, |
public PlayerTracker { |
public: |
- using JavaObjectPtr = scoped_ptr<base::android::ScopedJavaGlobalRef<jobject>>; |
+ using JavaObjectPtr = |
+ std::unique_ptr<base::android::ScopedJavaGlobalRef<jobject>>; |
// Notification called when MediaCrypto object is ready. |
// Parameters: |