Commit 7a6ba6ab authored by xji@google.com's avatar xji@google.com

Fix typo in SelectRect().

TEST=build with touchui=1, drag selection handles.
Review URL: http://codereview.chromium.org/7569024

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@95701 0039d316-1c4b-4281-b951-d872f2087c98
parent 0bfaf909
......@@ -256,7 +256,7 @@ void NativeTextfieldViews::OnBlur() {
void NativeTextfieldViews::SelectRect(const gfx::Point& start,
const gfx::Point& end) {
if (GetTextInputType() != ui::TEXT_INPUT_TYPE_NONE)
if (GetTextInputType() == ui::TEXT_INPUT_TYPE_NONE)
return;
gfx::SelectionModel start_pos = GetRenderText()->FindCursorPosition(start);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment