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

Unified Diff: chrome/renderer/autofill/password_autofill_agent_browsertest.cc

Issue 2180093002: [Autofill] Switch on use_new_wrapper_types mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add gyp Created 4 years, 5 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/renderer/autofill/password_autofill_agent_browsertest.cc
diff --git a/chrome/renderer/autofill/password_autofill_agent_browsertest.cc b/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
index 858cb51e9c176c40c53af41d8d2764f5a0f24268..b6b637b90d09edbb1a29083c787775407c87c806 100644
--- a/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
+++ b/chrome/renderer/autofill/password_autofill_agent_browsertest.cc
@@ -22,7 +22,6 @@
#include "components/autofill/core/common/password_form_field_prediction_map.h"
#include "components/password_manager/core/common/password_manager_features.h"
#include "content/public/renderer/render_frame.h"
-#include "mojo/common/common_type_converters.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/WebKit/public/platform/WebString.h"
#include "third_party/WebKit/public/platform/WebVector.h"
@@ -385,8 +384,8 @@ class PasswordAutofillAgentTest : public ChromeRenderViewTest {
static_cast<autofill::PageClickListener*>(autofill_agent_)
->FormControlElementClicked(input, false);
- autofill_agent_->FillPasswordSuggestion(mojo::String::From(username),
- mojo::String::From(password));
+ autofill_agent_->FillPasswordSuggestion(base::UTF16ToUTF8(username),
+ base::UTF16ToUTF8(password));
}
void SimulateUsernameChange(const std::string& username) {

Powered by Google App Engine
This is Rietveld 408576698