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

Unified Diff: third_party/WebKit/Source/modules/notifications/NotificationData.cpp

Issue 2755383004: Encapsulate optional SerializedScriptValue serialize/deserialize parameters. (Closed)
Patch Set: fuzzer Created 3 years, 9 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/notifications/NotificationData.cpp
diff --git a/third_party/WebKit/Source/modules/notifications/NotificationData.cpp b/third_party/WebKit/Source/modules/notifications/NotificationData.cpp
index 4554db4b4659f39f9849ccdfe28c87406fc960fd..ce95337f6127bc339b3edbbe22c2efc0e834a136 100644
--- a/third_party/WebKit/Source/modules/notifications/NotificationData.cpp
+++ b/third_party/WebKit/Source/modules/notifications/NotificationData.cpp
@@ -87,8 +87,9 @@ WebNotificationData createWebNotificationData(
v8::Isolate* isolate = data.isolate();
DCHECK(isolate->InContext());
RefPtr<SerializedScriptValue> serializedScriptValue =
- SerializedScriptValue::serialize(isolate, data.v8Value(), nullptr,
- nullptr, exceptionState);
+ SerializedScriptValue::serialize(
+ isolate, data.v8Value(), SerializedScriptValue::SerializeOptions(),
+ exceptionState);
if (exceptionState.hadException())
return WebNotificationData();

Powered by Google App Engine
This is Rietveld 408576698