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

Unified Diff: Source/core/events/AutocompleteErrorEvent.h

Issue 540283003: bindings: Retires ScriptWrappable::init, etc. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressed a review comment. Created 6 years, 3 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 | « Source/core/events/ApplicationCacheErrorEvent.cpp ('k') | Source/core/events/BeforeUnloadEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/AutocompleteErrorEvent.h
diff --git a/Source/core/events/AutocompleteErrorEvent.h b/Source/core/events/AutocompleteErrorEvent.h
index 6c856548d13bba47f209b67f47c50514da0bb1fe..e9d48f416c56fc5e1d0fc400b76e622b5809ac96 100644
--- a/Source/core/events/AutocompleteErrorEvent.h
+++ b/Source/core/events/AutocompleteErrorEvent.h
@@ -58,24 +58,15 @@ public:
virtual void trace(Visitor* visitor) OVERRIDE { Event::trace(visitor); }
private:
- AutocompleteErrorEvent()
- {
- ScriptWrappable::init(this);
- }
+ AutocompleteErrorEvent() { }
AutocompleteErrorEvent(const String& reason)
: Event(EventTypeNames::autocompleteerror, true, false)
- , m_reason(reason)
- {
- ScriptWrappable::init(this);
- }
+ , m_reason(reason) { }
AutocompleteErrorEvent(const AtomicString& eventType, const AutocompleteErrorEventInit& initializer)
: Event(eventType, initializer)
- , m_reason(initializer.reason)
- {
- ScriptWrappable::init(this);
- }
+ , m_reason(initializer.reason) { }
String m_reason;
};
« no previous file with comments | « Source/core/events/ApplicationCacheErrorEvent.cpp ('k') | Source/core/events/BeforeUnloadEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698