Index: Source/WebCore/html/HTMLInputElement.cpp |
=================================================================== |
--- Source/WebCore/html/HTMLInputElement.cpp (revision 110662) |
+++ Source/WebCore/html/HTMLInputElement.cpp (working copy) |
@@ -1374,7 +1374,8 @@ |
if (m_canReceiveDroppedFiles == canReceiveDroppedFiles) |
return; |
m_canReceiveDroppedFiles = canReceiveDroppedFiles; |
- renderer()->updateFromElement(); |
+ if (renderer()) |
+ renderer()->updateFromElement(); |
} |
String HTMLInputElement::visibleValue() const |