| Index: Source/modules/background_sync/PeriodicSyncRegistration.h
|
| diff --git a/Source/modules/background_sync/PeriodicSyncRegistration.h b/Source/modules/background_sync/PeriodicSyncRegistration.h
|
| index 5400823eb5227199ca471a50a3f619edaed41fe9..0024a79f0220092e3f8ec47be5ece0c0c03795b6 100644
|
| --- a/Source/modules/background_sync/PeriodicSyncRegistration.h
|
| +++ b/Source/modules/background_sync/PeriodicSyncRegistration.h
|
| @@ -25,19 +25,15 @@ public:
|
|
|
| virtual ~PeriodicSyncRegistration();
|
|
|
| - bool hasMinPeriod() const { return !m_minPeriod.isNull(); }
|
| - unsigned long minPeriod() const { return m_minPeriod.get(); }
|
| + unsigned long minPeriod() const { return m_minPeriod; }
|
| void setMinPeriod(unsigned long value) { m_minPeriod = value; }
|
|
|
| - bool hasNetworkState() const { return !m_networkState.isNull(); }
|
| String networkState() const { return m_networkState; }
|
| void setNetworkState(String value) { m_networkState = value; }
|
|
|
| - bool hasPowerState() const { return !m_powerState.isNull(); }
|
| String powerState() const { return m_powerState; }
|
| void setPowerState(String value) { m_powerState = value; }
|
|
|
| - bool hasTag() const { return !m_tag.isNull(); }
|
| String tag() const { return m_tag; }
|
| void setTag(String value) { m_tag = value; }
|
|
|
| @@ -49,7 +45,7 @@ private:
|
| PeriodicSyncRegistration(int64_t id, const PeriodicSyncRegistrationOptions&, ServiceWorkerRegistration*);
|
|
|
| int64_t m_id;
|
| - Nullable<unsigned long> m_minPeriod;
|
| + unsigned long m_minPeriod;
|
| String m_networkState;
|
| String m_powerState;
|
| String m_tag;
|
|
|