Index: chrome/browser/ui/validation_message_bubble.h |
diff --git a/chrome/browser/ui/validation_message_bubble.h b/chrome/browser/ui/validation_message_bubble.h |
index 74f5b9b9384900e116ab73c39e8291d25bcc7008..8307107b8e0503316432a8988956e6db3e2dfdd3 100644 |
--- a/chrome/browser/ui/validation_message_bubble.h |
+++ b/chrome/browser/ui/validation_message_bubble.h |
@@ -5,7 +5,8 @@ |
#ifndef CHROME_BROWSER_UI_VALIDATION_MESSAGE_BUBBLE_H_ |
#define CHROME_BROWSER_UI_VALIDATION_MESSAGE_BUBBLE_H_ |
-#include "base/memory/scoped_ptr.h" |
+#include <memory> |
+ |
#include "base/strings/string16.h" |
namespace content { |
@@ -20,7 +21,7 @@ class ValidationMessageBubble { |
public: |
// Open a tooltip-like window to show the specified messages. The window |
// should not change focus state. |
- static scoped_ptr<ValidationMessageBubble> CreateAndShow( |
+ static std::unique_ptr<ValidationMessageBubble> CreateAndShow( |
content::RenderWidgetHost* widget_host, |
const gfx::Rect& anchor_in_root_view, |
const base::string16& main_text, |