| Index: Source/core/dom/ErrorEvent.h | 
| diff --git a/Source/core/dom/ErrorEvent.h b/Source/core/dom/ErrorEvent.h | 
| index a28dcbef2a1e81300849935046f502bf0a8e94db..821554452fb4a24decb2d92844213b9222475257 100644 | 
| --- a/Source/core/dom/ErrorEvent.h | 
| +++ b/Source/core/dom/ErrorEvent.h | 
| @@ -59,6 +59,10 @@ public: | 
| { | 
| return adoptRef(new ErrorEvent(type, initializer)); | 
| } | 
| +    static PassRefPtr<ErrorEvent> createSanitizedError() | 
| +    { | 
| +        return adoptRef(new ErrorEvent("Script error.", String(), 0, 0)); | 
| +    } | 
| virtual ~ErrorEvent(); | 
|  | 
| const String& message() const { return m_message; } | 
|  |