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

Unified Diff: Source/core/events/SecurityPolicyViolationEvent.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/ResourceProgressEvent.cpp ('k') | Source/core/events/TextEvent.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/events/SecurityPolicyViolationEvent.h
diff --git a/Source/core/events/SecurityPolicyViolationEvent.h b/Source/core/events/SecurityPolicyViolationEvent.h
index 146e0a20aeeed8b5f75af731ba66029631a59964..91bcd5c3c46a13083c8d9978cc398350394b7338 100644
--- a/Source/core/events/SecurityPolicyViolationEvent.h
+++ b/Source/core/events/SecurityPolicyViolationEvent.h
@@ -30,9 +30,7 @@
namespace blink {
struct SecurityPolicyViolationEventInit : public EventInit {
- SecurityPolicyViolationEventInit()
- {
- }
+ SecurityPolicyViolationEventInit() { }
String documentURI;
String referrer;
@@ -75,10 +73,7 @@ public:
virtual void trace(Visitor* visitor) OVERRIDE { Event::trace(visitor); }
private:
- SecurityPolicyViolationEvent()
- {
- ScriptWrappable::init(this);
- }
+ SecurityPolicyViolationEvent() { }
SecurityPolicyViolationEvent(const AtomicString& type, const SecurityPolicyViolationEventInit& initializer)
: Event(type, initializer)
@@ -91,10 +86,7 @@ private:
, m_sourceFile(initializer.sourceFile)
, m_lineNumber(initializer.lineNumber)
, m_columnNumber(initializer.columnNumber)
- , m_statusCode(initializer.statusCode)
- {
- ScriptWrappable::init(this);
- }
+ , m_statusCode(initializer.statusCode) { }
String m_documentURI;
String m_referrer;
« no previous file with comments | « Source/core/events/ResourceProgressEvent.cpp ('k') | Source/core/events/TextEvent.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698