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

Unified Diff: chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc

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
« no previous file with comments | « chrome/browser/ui/webui/voice_search_ui.cc ('k') | chrome/browser/ui/window_sizer/window_sizer.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc
diff --git a/chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc b/chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc
index e63f6d049a38164c9adcf2ae8926c96851891bc4..32fd27f0ddbacda994be394f3757f6602762f574 100644
--- a/chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc
+++ b/chrome/browser/ui/webui/web_dialog_web_contents_delegate_unittest.cc
@@ -4,11 +4,11 @@
#include "ui/web_dialogs/web_dialog_web_contents_delegate.h"
+#include <memory>
#include <vector>
#include "base/logging.h"
#include "base/macros.h"
-#include "base/memory/scoped_ptr.h"
#include "chrome/browser/ui/browser.h"
#include "chrome/browser/ui/browser_finder.h"
#include "chrome/browser/ui/tabs/tab_strip_model.h"
@@ -58,7 +58,7 @@ class WebDialogWebContentsDelegateTest : public BrowserWithTestWindowTest {
}
protected:
- scoped_ptr<TestWebContentsDelegate> test_web_contents_delegate_;
+ std::unique_ptr<TestWebContentsDelegate> test_web_contents_delegate_;
};
TEST_F(WebDialogWebContentsDelegateTest, DoNothingMethodsTest) {
« no previous file with comments | « chrome/browser/ui/webui/voice_search_ui.cc ('k') | chrome/browser/ui/window_sizer/window_sizer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698