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

Unified Diff: chrome/browser/ui/views/javascript_app_modal_dialog_views_x11.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/views/javascript_app_modal_dialog_views_x11.h
diff --git a/chrome/browser/ui/views/javascript_app_modal_dialog_views_x11.h b/chrome/browser/ui/views/javascript_app_modal_dialog_views_x11.h
index 8d10340756af301d1ff515d3d9566b92e5b11ae8..9dc994799d0204bc235b74994574c668f0578184 100644
--- a/chrome/browser/ui/views/javascript_app_modal_dialog_views_x11.h
+++ b/chrome/browser/ui/views/javascript_app_modal_dialog_views_x11.h
@@ -5,8 +5,9 @@
#ifndef CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_X11_H_
#define CHROME_BROWSER_UI_VIEWS_JAVASCRIPT_APP_MODAL_DIALOG_VIEWS_X11_H_
+#include <memory>
+
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "components/app_modal/views/javascript_app_modal_dialog_views.h"
class AppModalDialogHelper;
@@ -28,9 +29,9 @@ class JavaScriptAppModalDialogViewsX11
private:
// Blocks events to other browser windows while the dialog is open.
- scoped_ptr<JavascriptAppModalEventBlockerX11> event_blocker_x11_;
+ std::unique_ptr<JavascriptAppModalEventBlockerX11> event_blocker_x11_;
- scoped_ptr<AppModalDialogHelper> helper_;
+ std::unique_ptr<AppModalDialogHelper> helper_;
DISALLOW_COPY_AND_ASSIGN(JavaScriptAppModalDialogViewsX11);
};
« no previous file with comments | « chrome/browser/ui/views/infobars/legacy_infobars_mac.cc ('k') | chrome/browser/ui/views/location_bar/bubble_icon_view.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698