commit | 65de3d9a8c209dd321191faf53edfdb86da2ee25 | [log] [tgz] |
---|---|---|
author | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Sat Jul 21 01:54:19 2012 |
committer | [email protected] <[email protected]@0039d316-1c4b-4281-b951-d872f2087c98> | Sat Jul 21 01:54:19 2012 |
tree | 22ce046df90f46f8078f4513fdfce83b15caaa4b | |
parent | 614a5ff88562dfa394cab497ddc9ca5e1af25ad7 [diff] [blame] |
Add new text input types for android (step 1 of 3). Step 2: https://bugs.webkit.org/show_bug.cgi?id=91654 Step 3: Add compile asserts in render_widget.cc for new enum values. Review URL: https://chromiumcodereview.appspot.com/10809019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@147759 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/renderer/render_widget.cc b/content/renderer/render_widget.cc index 905fbe2..568647c 100644 --- a/content/renderer/render_widget.cc +++ b/content/renderer/render_widget.cc
@@ -1692,7 +1692,7 @@ if (webwidget_) { int type = webwidget_->textInputType(); // Check the type is in the range representable by ui::TextInputType. - DCHECK_LE(type, ui::TEXT_INPUT_TYPE_WEEK) << + DCHECK_LE(type, ui::TEXT_INPUT_TYPE_MAX) << "WebKit::WebTextInputType and ui::TextInputType not synchronized"; return static_cast<ui::TextInputType>(type); }