Skip to content

Commit 14249e2

Browse files
openwebf-botandycall
authored andcommitted
Committing clang-format changes
1 parent 50412e5 commit 14249e2

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

bridge/core/dart_methods.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,10 @@
44
*/
55

66
#include "dart_methods.h"
7+
#include <stdio.h>
78
#include <cassert>
89
#include "dart_isolate_context.h"
910
#include "foundation/native_type.h"
10-
#include <stdio.h>
1111

1212
using namespace webf;
1313

@@ -247,8 +247,8 @@ void DartMethodPointer::onJSLog(bool is_dedicated, double context_id, int32_t le
247247
return;
248248
int log_length = strlen(log) + 1;
249249
char* log_str = (char*)dart_malloc(sizeof(char) * log_length);
250-
snprintf(log_str, log_length, "%s",log);
251-
250+
snprintf(log_str, log_length, "%s", log);
251+
252252
dart_isolate_context_->dispatcher()->PostToDart(is_dedicated, on_js_log_, context_id, level, log_str);
253253
}
254254

0 commit comments

Comments
 (0)