projects
/
webkit2gtk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d15918d
)
Check for NULL pointer in SearchInputType.
author
Zalan Bujtas
<zalan@apple.com>
Fri, 6 Mar 2015 07:33:11 +0000
(07:33 +0000)
committer
Alberto Garcia
<berto@igalia.com>
Fri, 6 Mar 2015 07:33:11 +0000
(07:33 +0000)
===================================================================
Gbp-Pq: Name render-text-control.patch
Source/WebCore/html/SearchInputType.cpp
patch
|
blob
|
history
diff --git
a/Source/WebCore/html/SearchInputType.cpp
b/Source/WebCore/html/SearchInputType.cpp
index 418dd0b094e31311eefb55b4b24a62e16e8b780f..de2ec76855243ac9c6b0185bd5400672c1823067 100644
(file)
--- a/
Source/WebCore/html/SearchInputType.cpp
+++ b/
Source/WebCore/html/SearchInputType.cpp
@@
-185,7
+185,7
@@
bool SearchInputType::searchEventsShouldBeDispatched() const
void SearchInputType::didSetValueByUserEdit(ValueChangeState state)
{
- if (m_cancelButton)
+ if (m_cancelButton
&& element().renderer()
)
toRenderSearchField(element().renderer())->updateCancelButtonVisibility();
// If the incremental attribute is set, then dispatch the search event