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

Unified Diff: third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.h

Issue 2217763003: Remove Blink-WebKit-only document.createEvent strings (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase Created 4 years, 4 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: third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.h
diff --git a/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.h b/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.h
index dd1595edb5b078cfc97c5b156dc1628d2f74165f..4524324255fad68de7cfb5995485238852609d4b 100644
--- a/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.h
+++ b/third_party/WebKit/Source/core/events/SecurityPolicyViolationEvent.h
@@ -33,11 +33,6 @@ namespace blink {
class SecurityPolicyViolationEvent final : public Event {
DEFINE_WRAPPERTYPEINFO();
public:
- static SecurityPolicyViolationEvent* create()
- {
- return new SecurityPolicyViolationEvent();
- }
-
static SecurityPolicyViolationEvent* create(const AtomicString& type, const SecurityPolicyViolationEventInit& initializer)
{
return new SecurityPolicyViolationEvent(type, initializer);
@@ -59,8 +54,6 @@ public:
DEFINE_INLINE_VIRTUAL_TRACE() { Event::trace(visitor); }
private:
- SecurityPolicyViolationEvent() { }
-
SecurityPolicyViolationEvent(const AtomicString& type, const SecurityPolicyViolationEventInit& initializer)
: Event(type, initializer)
, m_lineNumber(0)
« no previous file with comments | « third_party/WebKit/Source/core/events/ResourceProgressEvent.cpp ('k') | third_party/WebKit/Source/core/frame/UseCounter.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698