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

Unified Diff: content/browser/gamepad/gamepad_test_helpers.cc

Issue 1874893002: Convert //content/browser from scoped_ptr to std::unique_ptr (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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: content/browser/gamepad/gamepad_test_helpers.cc
diff --git a/content/browser/gamepad/gamepad_test_helpers.cc b/content/browser/gamepad/gamepad_test_helpers.cc
index fc79dcb5ee67ebf1648ad5620122d00d9e34bc00..ed78e2e500431c8f7ff8e1f6ac26197952456728 100644
--- a/content/browser/gamepad/gamepad_test_helpers.cc
+++ b/content/browser/gamepad/gamepad_test_helpers.cc
@@ -54,7 +54,7 @@ GamepadServiceTestConstructor::GamepadServiceTestConstructor(
const blink::WebGamepads& test_data) {
data_fetcher_ = new MockGamepadDataFetcher(test_data);
gamepad_service_ =
- new GamepadService(scoped_ptr<GamepadDataFetcher>(data_fetcher_));
+ new GamepadService(std::unique_ptr<GamepadDataFetcher>(data_fetcher_));
}
GamepadServiceTestConstructor::~GamepadServiceTestConstructor() {
« no previous file with comments | « content/browser/gamepad/gamepad_test_helpers.h ('k') | content/browser/gamepad/raw_input_data_fetcher_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698