Index: content/renderer/pepper/plugin_instance_throttler_impl.cc |
diff --git a/content/renderer/pepper/plugin_instance_throttler_impl.cc b/content/renderer/pepper/plugin_instance_throttler_impl.cc |
index 009e7d5b8f28e4601a5c74e31b68c0206a808a99..10c7f50593eb113ec5348e0a8613db4a9052fb5c 100644 |
--- a/content/renderer/pepper/plugin_instance_throttler_impl.cc |
+++ b/content/renderer/pepper/plugin_instance_throttler_impl.cc |
@@ -4,6 +4,7 @@ |
#include "content/renderer/pepper/plugin_instance_throttler_impl.h" |
+#include "base/memory/ptr_util.h" |
#include "base/metrics/histogram.h" |
#include "base/time/time.h" |
#include "content/public/common/content_constants.h" |
@@ -40,8 +41,8 @@ const int kAudioThrottledFrameTimeoutMilliseconds = 500; |
const int PluginInstanceThrottlerImpl::kMaximumFramesToExamine = 150; |
// static |
-scoped_ptr<PluginInstanceThrottler> PluginInstanceThrottler::Create() { |
- return make_scoped_ptr(new PluginInstanceThrottlerImpl); |
+std::unique_ptr<PluginInstanceThrottler> PluginInstanceThrottler::Create() { |
+ return base::WrapUnique(new PluginInstanceThrottlerImpl); |
} |
// static |