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

Unified Diff: third_party/WebKit/Source/modules/push_messaging/PushEvent.h

Issue 1414553002: Fix out-of-memory crashes related to ArrayBuffer allocation Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: rebase and applied senorblanco+haraken feedbac Created 5 years, 2 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 514e2a6131dd04350fc68258c1947d40d9226e63..e07b84c263d8f1bf004291de62ff7f6b5c352d52 100644
--- a/third_party/WebKit/Source/modules/push_messaging/PushEvent.h
+++ b/third_party/WebKit/Source/modules/push_messaging/PushEvent.h
@@ -28,9 +28,9 @@ public:
{
return adoptRefWillBeNoop(new PushEvent(type, data, observer));
}
- static PassRefPtrWillBeRawPtr<PushEvent> create(const AtomicString& type, const PushEventInit& initializer)
+ static PassRefPtrWillBeRawPtr<PushEvent> create(const AtomicString& type, const PushEventInit& initializer, ExceptionState& exceptionState)
{
- return adoptRefWillBeNoop(new PushEvent(type, initializer));
+ return adoptRefWillBeNoop(new PushEvent(type, initializer, exceptionState));
}
~PushEvent() override;
@@ -44,7 +44,7 @@ public:
private:
PushEvent();
PushEvent(const AtomicString& type, PushMessageData*, WaitUntilObserver*);
- PushEvent(const AtomicString& type, const PushEventInit&);
+ PushEvent(const AtomicString& type, const PushEventInit&, ExceptionState&);
PersistentWillBeMember<PushMessageData> m_data;
};

Powered by Google App Engine
This is Rietveld 408576698