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

Unified Diff: Source/WebCore/html/shadow/CalendarPickerElement.cpp

Issue 10795098: Merge 122918 - Fix an assertion failure in CalendarPickerElement::hostInput(). (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1180/
Patch Set: Created 8 years, 5 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
« no previous file with comments | « LayoutTests/fast/forms/date/calendar-picker-type-change-onclick-expected.txt ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/shadow/CalendarPickerElement.cpp
===================================================================
--- Source/WebCore/html/shadow/CalendarPickerElement.cpp (revision 123530)
+++ Source/WebCore/html/shadow/CalendarPickerElement.cpp (working copy)
@@ -88,6 +88,8 @@
void CalendarPickerElement::defaultEventHandler(Event* event)
{
+ if (!renderer())
+ return;
HTMLInputElement* input = hostInput();
if (input->readOnly() || input->disabled())
return;
« no previous file with comments | « LayoutTests/fast/forms/date/calendar-picker-type-change-onclick-expected.txt ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698