Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(4826)

Unified Diff: chrome/browser/ui/validation_message_bubble.h

Issue 1865213004: Convert //chrome/browser/ui from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698