| Index: public/platform/modules/notifications/WebNotificationData.h
|
| diff --git a/public/platform/modules/notifications/WebNotificationData.h b/public/platform/modules/notifications/WebNotificationData.h
|
| index f9513f4a7e02c4038ade2fc2183617d4708b21c0..31080e0959216c2186f62a6c8d3c01c345d7299c 100644
|
| --- a/public/platform/modules/notifications/WebNotificationData.h
|
| +++ b/public/platform/modules/notifications/WebNotificationData.h
|
| @@ -20,34 +20,14 @@ struct WebNotificationData {
|
| DirectionAuto
|
| };
|
|
|
| - WebNotificationData()
|
| - : direction(DirectionLeftToRight)
|
| - , silent(false)
|
| - {
|
| - }
|
| -
|
| - WebNotificationData(const WebString& title, Direction direction, const WebString& lang, const WebString& body, const WebString& tag, const WebURL& icon, const WebVector<int>& vibrate, bool silent, const WebVector<char>& data, const WebVector<WebNotificationAction>& actions)
|
| - : title(title)
|
| - , direction(direction)
|
| - , lang(lang)
|
| - , body(body)
|
| - , tag(tag)
|
| - , icon(icon)
|
| - , vibrate(vibrate)
|
| - , silent(silent)
|
| - , data(data)
|
| - , actions(actions)
|
| - {
|
| - }
|
| -
|
| WebString title;
|
| - Direction direction;
|
| + Direction direction = DirectionLeftToRight;
|
| WebString lang;
|
| WebString body;
|
| WebString tag;
|
| WebURL icon;
|
| WebVector<int> vibrate;
|
| - bool silent;
|
| + bool silent = false;
|
| WebVector<char> data;
|
| WebVector<WebNotificationAction> actions;
|
| };
|
|
|