@@ -738,8 +738,7 @@ Local<ObjectTemplate> DatabaseSyncLimits::GetTemplate(Environment* env) {
738738}
739739
740740Intercepted DatabaseSyncLimits::LimitsGetter (
741- Local<Name> property,
742- const PropertyCallbackInfo<Value>& info) {
741+ Local<Name> property, const PropertyCallbackInfo<Value>& info) {
743742 // Skip symbols
744743 if (!property->IsString ()) {
745744 return Intercepted::kNo ;
@@ -813,8 +812,7 @@ Intercepted DatabaseSyncLimits::LimitsSetter(
813812}
814813
815814Intercepted DatabaseSyncLimits::LimitsQuery (
816- Local<Name> property,
817- const PropertyCallbackInfo<Integer>& info) {
815+ Local<Name> property, const PropertyCallbackInfo<Integer>& info) {
818816 if (!property->IsString ()) {
819817 return Intercepted::kNo ;
820818 }
@@ -828,8 +826,7 @@ Intercepted DatabaseSyncLimits::LimitsQuery(
828826 }
829827
830828 // Property exists and is writable
831- info.GetReturnValue ().Set (
832- Integer::New (isolate, v8::PropertyAttribute::None));
829+ info.GetReturnValue ().Set (Integer::New (isolate, v8::PropertyAttribute::None));
833830 return Intercepted::kYes ;
834831}
835832
@@ -849,8 +846,7 @@ void DatabaseSyncLimits::LimitsEnumerator(
849846}
850847
851848BaseObjectPtr<DatabaseSyncLimits> DatabaseSyncLimits::Create (
852- Environment* env,
853- BaseObjectWeakPtr<DatabaseSync> database) {
849+ Environment* env, BaseObjectWeakPtr<DatabaseSync> database) {
854850 Local<Object> obj;
855851 if (!GetTemplate (env)->NewInstance (env->context ()).ToLocal (&obj)) {
856852 return nullptr ;
@@ -1290,7 +1286,8 @@ void DatabaseSync::New(const FunctionCallbackInfo<Value>& args) {
12901286
12911287 // Parse limits option
12921288 Local<Value> limits_v;
1293- if (!options->Get (env->context (), env->limits_string ()).ToLocal (&limits_v)) {
1289+ if (!options->Get (env->context (), env->limits_string ())
1290+ .ToLocal (&limits_v)) {
12941291 return ;
12951292 }
12961293 if (!limits_v->IsUndefined ()) {
@@ -1372,8 +1369,8 @@ void DatabaseSync::LimitsGetter(const FunctionCallbackInfo<Value>& args) {
13721369 Environment* env = Environment::GetCurrent (args);
13731370
13741371 if (!db->limits_object_ ) {
1375- db->limits_object_ = DatabaseSyncLimits::Create (
1376- env, BaseObjectWeakPtr<DatabaseSync>(db));
1372+ db->limits_object_ =
1373+ DatabaseSyncLimits::Create ( env, BaseObjectWeakPtr<DatabaseSync>(db));
13771374 }
13781375
13791376 if (db->limits_object_ ) {
0 commit comments