summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKristian Monsen <kristianm@google.com>2011-08-11 15:50:36 +0100
committerKristian Monsen <kristianm@google.com>2011-08-11 16:24:32 +0100
commit74b4c3d7548b7c2b670aa0e72aee5d1f0bba2a3d (patch)
tree12ea9df9b81a9bc0a21da7bc964bc01988a53dfd /Source
parentf9bc4199d5ebea7d85e1d74f76abd1b6329f20c2 (diff)
downloadexternal_webkit-74b4c3d7548b7c2b670aa0e72aee5d1f0bba2a3d.zip
external_webkit-74b4c3d7548b7c2b670aa0e72aee5d1f0bba2a3d.tar.gz
external_webkit-74b4c3d7548b7c2b670aa0e72aee5d1f0bba2a3d.tar.bz2
Part of fix for bug 5152544 Reduce the number of warning
Change-Id: I06a7975d6b08f01731b8bd1761141e3aba942393
Diffstat (limited to 'Source')
-rw-r--r--Source/WebKit/android/WebCoreSupport/autofill/FormManagerAndroid.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/WebKit/android/WebCoreSupport/autofill/FormManagerAndroid.cpp b/Source/WebKit/android/WebCoreSupport/autofill/FormManagerAndroid.cpp
index 65b6771..e837244 100644
--- a/Source/WebKit/android/WebCoreSupport/autofill/FormManagerAndroid.cpp
+++ b/Source/WebKit/android/WebCoreSupport/autofill/FormManagerAndroid.cpp
@@ -116,7 +116,7 @@ bool IsOptionElement(Element& element) {
bool IsAutofillableElement(const HTMLFormControlElement& element) {
HTMLInputElement* html_input_element = HTMLFormControlElementToHTMLInputElement(element);
- return html_input_element && IsTextInput(html_input_element) || IsSelectElement(element);
+ return (html_input_element && IsTextInput(html_input_element)) || IsSelectElement(element);
}
// This is a helper function for the FindChildText() function (see below).