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

Unified Diff: views/controls/textfield/native_textfield_views.cc

Issue 7027014: Remove unused multiline attribute in textfield (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing unused multiline attribute in Textfield Created 9 years, 7 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: views/controls/textfield/native_textfield_views.cc
diff --git a/views/controls/textfield/native_textfield_views.cc b/views/controls/textfield/native_textfield_views.cc
index 0eeb2914b01b6e21131d26a7cf05cdf012357989..479d4d62fb675a40ab319f93bfccd9c2a43c850f 100644
--- a/views/controls/textfield/native_textfield_views.cc
+++ b/views/controls/textfield/native_textfield_views.cc
@@ -74,8 +74,6 @@ NativeTextfieldViews::NativeTextfieldViews(Textfield* parent)
last_click_location_(0, 0) {
set_border(text_border_);
- // Multiline is not supported.
- DCHECK_NE(parent->style(), Textfield::STYLE_MULTILINE);
// Lowercase is not supported.
DCHECK_NE(parent->style(), Textfield::STYLE_LOWERCASE);

Powered by Google App Engine
This is Rietveld 408576698