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

Unified Diff: Source/core/events/Event.cpp

Issue 1154943009: bindings: Remove [EventConstructor] and [InitializedByEventConstructor] (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 7 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
Index: Source/core/events/Event.cpp
diff --git a/Source/core/events/Event.cpp b/Source/core/events/Event.cpp
index 841613e654c50167f10b0ada82f8d9d95b49cbea..9a777f355c17ce80858f7307e0fd0cdc2df06672 100644
--- a/Source/core/events/Event.cpp
+++ b/Source/core/events/Event.cpp
@@ -32,12 +32,6 @@
namespace blink {
-EventInit::EventInit()
- : bubbles(false)
- , cancelable(false)
-{
-}
-
Event::Event()
: Event("", false, false)
{
@@ -60,11 +54,6 @@ Event::Event(const AtomicString& eventType, bool canBubbleArg, bool cancelableAr
}
Event::Event(const AtomicString& eventType, const EventInit& initializer)
- : Event(eventType, initializer.bubbles, initializer.cancelable)
-{
-}
-
-Event::Event(const AtomicString& eventType, const EventInitDictionary& initializer)
: Event(eventType, initializer.bubbles(), initializer.cancelable())
{
}

Powered by Google App Engine
This is Rietveld 408576698