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

Unified Diff: chrome/browser/password_manager/chrome_password_manager_client.cc

Issue 2573073003: Collapse the API surface on WebInputEvent via accessor functions. (Closed)
Patch Set: Fix nits Created 3 years, 11 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/password_manager/chrome_password_manager_client.cc
diff --git a/chrome/browser/password_manager/chrome_password_manager_client.cc b/chrome/browser/password_manager/chrome_password_manager_client.cc
index b167054371b4bfa00b4ab2fb796b757e131374ff..26b54a8a2ea28078405fc64b2f3fa1d5a3037341 100644
--- a/chrome/browser/password_manager/chrome_password_manager_client.cc
+++ b/chrome/browser/password_manager/chrome_password_manager_client.cc
@@ -392,7 +392,7 @@ void ChromePasswordManagerClient::DidNavigateMainFrame(
void ChromePasswordManagerClient::OnInputEvent(
const blink::WebInputEvent& event) {
- if (event.type != blink::WebInputEvent::Char)
+ if (event.type() != blink::WebInputEvent::Char)
return;
const blink::WebKeyboardEvent& key_event =
static_cast<const blink::WebKeyboardEvent&>(event);

Powered by Google App Engine
This is Rietveld 408576698