Index: components/plugins/renderer/loadable_plugin_placeholder.cc |
diff --git a/components/plugins/renderer/loadable_plugin_placeholder.cc b/components/plugins/renderer/loadable_plugin_placeholder.cc |
index a63bb806e548d9a60255cf962a1db9dfb6fa0090..d772515a9d0ea6cad75073ffd45a0878a9b08bda 100644 |
--- a/components/plugins/renderer/loadable_plugin_placeholder.cc |
+++ b/components/plugins/renderer/loadable_plugin_placeholder.cc |
@@ -4,6 +4,8 @@ |
#include "components/plugins/renderer/loadable_plugin_placeholder.h" |
+#include <memory> |
+ |
#include "base/bind.h" |
#include "base/bind_helpers.h" |
#include "base/json/string_escape.h" |
@@ -309,7 +311,7 @@ void LoadablePluginPlaceholder::DidFinishIconRepositionForTestingCallback() { |
blink::WebElement element = plugin()->container()->element(); |
element.setAttribute("placeholderReady", "true"); |
- scoped_ptr<content::V8ValueConverter> converter( |
+ std::unique_ptr<content::V8ValueConverter> converter( |
content::V8ValueConverter::create()); |
base::StringValue value("placeholderReady"); |
blink::WebSerializedScriptValue message_data = |