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

Unified Diff: chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.cc

Issue 2919263002: Don't move raw pointers in payments (Closed)
Patch Set: Created 3 years, 6 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.cc
diff --git a/chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.cc b/chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.cc
index 5ea6cb02126209c587d828d029f669f26a66e4f6..70e3da6cc6d5f292e4d2b8c07f4b8ac263f96cb2 100644
--- a/chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.cc
+++ b/chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.cc
@@ -4,8 +4,6 @@
#include "chrome/browser/ui/views/payments/test_chrome_payment_request_delegate.h"
-#include <utility>
-
#include "content/public/browser/web_contents.h"
namespace payments {
@@ -25,7 +23,7 @@ void TestChromePaymentRequestDelegate::ShowDialog(PaymentRequest* request) {
PaymentRequestDialogView* dialog_view =
new PaymentRequestDialogView(request, observer_);
dialog_view->ShowDialog();
Mathieu 2017/06/05 13:17:32 In the strange world of views, ShowWebModalDialogV
- dialog_ = std::move(dialog_view);
+ dialog_ = dialog_view;
}
bool TestChromePaymentRequestDelegate::IsIncognito() const {
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698