Index: content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc |
diff --git a/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc b/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc |
index 57c45635b4b1ae1220df587945b565f0154a05f1..48a9bb6149138b59f3fa8ed1e1fb83844aa57c56 100644 |
--- a/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc |
+++ b/content/renderer/pepper/plugin_instance_throttler_impl_unittest.cc |
@@ -2,14 +2,16 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
+#include "content/renderer/pepper/plugin_instance_throttler_impl.h" |
+ |
+#include <memory> |
+ |
#include "base/bind.h" |
#include "base/command_line.h" |
#include "base/logging.h" |
-#include "base/memory/scoped_ptr.h" |
#include "base/message_loop/message_loop.h" |
#include "content/public/common/content_switches.h" |
#include "content/public/renderer/render_frame.h" |
-#include "content/renderer/pepper/plugin_instance_throttler_impl.h" |
#include "testing/gmock/include/gmock/gmock.h" |
#include "testing/gtest/include/gtest/gtest.h" |
#include "third_party/WebKit/public/web/WebInputEvent.h" |
@@ -72,7 +74,7 @@ class PluginInstanceThrottlerImplTest |
// PluginInstanceThrottlerImpl::Observer |
void OnThrottleStateChange() override { ++change_callback_calls_; } |
- scoped_ptr<PluginInstanceThrottlerImpl> throttler_; |
+ std::unique_ptr<PluginInstanceThrottlerImpl> throttler_; |
int change_callback_calls_; |