Skip to content

Commit 91e09aa

Browse files
committed
Unreviewed, rolling out r123036.
http://trac.webkit.org/changeset/123036 https://bugs.webkit.org/show_bug.cgi?id=91555 Triggers some DCHECKs in Chromium browser_tests * public/WebTextInputType.h: * src/WebViewImpl.cpp: (WebKit::WebViewImpl::textInputType): Canonical link: https://commits.webkit.org/109578@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@123120 268f45cc-cd09-0410-ab3c-d52691b4dbfc
1 parent 0bc6852 commit 91e09aa

File tree

3 files changed

+14
-6
lines changed

3 files changed

+14
-6
lines changed

Source/WebKit/chromium/ChangeLog

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,15 @@
1+
2012-07-19 Tony Chang <[email protected]>
2+
3+
Unreviewed, rolling out r123036.
4+
http://trac.webkit.org/changeset/123036
5+
https://bugs.webkit.org/show_bug.cgi?id=91555
6+
7+
Triggers some DCHECKs in Chromium browser_tests
8+
9+
* public/WebTextInputType.h:
10+
* src/WebViewImpl.cpp:
11+
(WebKit::WebViewImpl::textInputType):
12+
113
2012-07-19 Joshua Bell <[email protected]>
214

315
Roll out r121610 and r122487 which may have been causing flaky crashes

Source/WebKit/chromium/public/WebTextInputType.h

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,10 +54,6 @@ enum WebTextInputType {
5454
WebTextInputTypeMonth,
5555
WebTextInputTypeTime,
5656
WebTextInputTypeWeek,
57-
WebTextInputTypeTextArea,
58-
59-
// Input caret is in a contenteditable node (not an INPUT field).
60-
WebTextInputTypeContentEditable,
6157
};
6258

6359
} // namespace WebKit

Source/WebKit/chromium/src/WebViewImpl.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2071,11 +2071,11 @@ WebTextInputType WebViewImpl::textInputType()
20712071
if (textarea->readOnly() || textarea->disabled())
20722072
return WebTextInputTypeNone;
20732073

2074-
return WebTextInputTypeTextArea;
2074+
return WebTextInputTypeText;
20752075
}
20762076

20772077
if (node->shouldUseInputMethod())
2078-
return WebTextInputTypeContentEditable;
2078+
return WebTextInputTypeText;
20792079

20802080
return WebTextInputTypeNone;
20812081
}

0 commit comments

Comments
 (0)