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

Unified Diff: third_party/WebKit/Source/modules/push_messaging/PushEvent.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/modules/push_messaging/PushEvent.h
diff --git a/third_party/WebKit/Source/modules/push_messaging/PushEvent.h b/third_party/WebKit/Source/modules/push_messaging/PushEvent.h
index 1446a1068ea2a2f166683fb3ca434e8cb8d94cbd..009db175188f1a88ad6f3bde4abecd1fecefe62b 100644
--- a/third_party/WebKit/Source/modules/push_messaging/PushEvent.h
+++ b/third_party/WebKit/Source/modules/push_messaging/PushEvent.h
@@ -20,10 +20,6 @@ class PushEventInit;
class MODULES_EXPORT PushEvent final : public ExtendableEvent {
DEFINE_WRAPPERTYPEINFO();
public:
- static PushEvent* create()
- {
- return new PushEvent;
- }
static PushEvent* create(const AtomicString& type, PushMessageData* data, WaitUntilObserver* observer)
{
return new PushEvent(type, data, observer);
@@ -42,7 +38,6 @@ public:
DECLARE_VIRTUAL_TRACE();
private:
- PushEvent();
PushEvent(const AtomicString& type, PushMessageData*, WaitUntilObserver*);
PushEvent(const AtomicString& type, const PushEventInit&);

Powered by Google App Engine
This is Rietveld 408576698