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

Unified Diff: sky/engine/core/events/FocusEvent.cpp

Issue 706123005: Remove nop ScriptWrappable::init calls (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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 | « sky/engine/core/events/EventTarget.cpp ('k') | sky/engine/core/events/HashChangeEvent.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/core/events/FocusEvent.cpp
diff --git a/sky/engine/core/events/FocusEvent.cpp b/sky/engine/core/events/FocusEvent.cpp
index 1c99d898df2c8c751bccf06708b24026dd5690c8..fcc419b784804986fb98ee74b706314148df9b83 100644
--- a/sky/engine/core/events/FocusEvent.cpp
+++ b/sky/engine/core/events/FocusEvent.cpp
@@ -48,21 +48,18 @@ bool FocusEvent::isFocusEvent() const
FocusEvent::FocusEvent()
{
- ScriptWrappable::init(this);
}
FocusEvent::FocusEvent(const AtomicString& type, bool canBubble, bool cancelable, PassRefPtr<AbstractView> view, int detail, EventTarget* relatedTarget)
: UIEvent(type, canBubble, cancelable, view, detail)
, m_relatedTarget(relatedTarget)
{
- ScriptWrappable::init(this);
}
FocusEvent::FocusEvent(const AtomicString& type, const FocusEventInit& initializer)
: UIEvent(type, initializer)
, m_relatedTarget(initializer.relatedTarget)
{
- ScriptWrappable::init(this);
}
void FocusEvent::trace(Visitor* visitor)
« no previous file with comments | « sky/engine/core/events/EventTarget.cpp ('k') | sky/engine/core/events/HashChangeEvent.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698