Index: Source/core/dom/BeforeUnloadEvent.cpp |
diff --git a/Source/core/dom/BeforeUnloadEvent.cpp b/Source/core/dom/BeforeUnloadEvent.cpp |
index 25f7b0e99c1be90f85edfd7b23aab1c806b84555..a22374c0619eae43160e3d6f50a2538d86996c4f 100644 |
--- a/Source/core/dom/BeforeUnloadEvent.cpp |
+++ b/Source/core/dom/BeforeUnloadEvent.cpp |
@@ -1,8 +1,9 @@ |
-/** |
+/* |
* Copyright (C) 2001 Peter Kelly (pmk@post.com) |
* Copyright (C) 2001 Tobias Anton (anton@stud.fbi.fh-darmstadt.de) |
* Copyright (C) 2006 Samuel Weinig (sam.weinig@gmail.com) |
* Copyright (C) 2003, 2005, 2006 Apple Computer, Inc. |
+ * Copyright (C) 2013 Samsung Electronics. |
* |
* This library is free software; you can redistribute it and/or |
* modify it under the terms of the GNU Library General Public |
@@ -30,20 +31,16 @@ namespace WebCore { |
BeforeUnloadEvent::BeforeUnloadEvent() |
: Event(eventNames().beforeunloadEvent, false, true) |
{ |
+ ScriptWrappable::init(this); |
} |
BeforeUnloadEvent::~BeforeUnloadEvent() |
{ |
} |
-bool BeforeUnloadEvent::storesResultAsString() const |
+bool BeforeUnloadEvent::isBeforeUnloadEvent() const |
{ |
return true; |
} |
-void BeforeUnloadEvent::storeResult(const String& s) |
-{ |
- m_result = s; |
-} |
- |
} // namespace WebCore |