Skip to content

Commit fe270dc

Browse files
github-actions[bot]ShinyRaine
authored andcommitted
Commit from GitHub Actions (Run Code Linter)
1 parent dd590ec commit fe270dc

File tree

4 files changed

+9
-8
lines changed

4 files changed

+9
-8
lines changed

bridge/core/api/executing_context.cc

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,10 @@ WebFValue<Window, WindowPublicMethods> ExecutingContextWebFMethods::window(webf:
2727
context->window()->KeepAlive());
2828
}
2929

30-
WebFValue<Performance, PerformancePublicMethods> ExecutingContextWebFMethods::performance(webf::ExecutingContext* context) {
31-
return WebFValue<Performance, PerformancePublicMethods>(context->performance(), context->performance()->performancePublicMethods(),
32-
context->performance()->KeepAlive());
30+
WebFValue<Performance, PerformancePublicMethods> ExecutingContextWebFMethods::performance(
31+
webf::ExecutingContext* context) {
32+
return WebFValue<Performance, PerformancePublicMethods>(
33+
context->performance(), context->performance()->performancePublicMethods(), context->performance()->KeepAlive());
3334
}
3435

3536
WebFValue<SharedExceptionState, ExceptionStatePublicMethods> ExecutingContextWebFMethods::CreateExceptionState() {

bridge/core/native/vector_value_ref.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright (C) 2022-present The WebF authors. All rights reserved.
2+
* Copyright (C) 2022-present The WebF authors. All rights reserved.
33
*/
44

55
#ifndef WEBF_CORE_NATIVE_VECTOR_VALUE_REF_H_
@@ -12,7 +12,7 @@ struct VectorValueRef {
1212
int64_t size;
1313
void* data;
1414

15-
VectorValueRef(void* data, int64_t size) : data(data), size(size) {};
15+
VectorValueRef(void* data, int64_t size) : data(data), size(size){};
1616
};
1717
} // namespace webf
1818

bridge/core/timing/performance.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
#include "bindings/qjs/script_wrappable.h"
1212
#include "core/binding_object.h"
1313
#include "performance_entry.h"
14-
#include "qjs_performance_mark_options.h"
1514
#include "plugin_api/performance.h"
15+
#include "qjs_performance_mark_options.h"
1616

1717
namespace webf {
1818

bridge/include/plugin_api/executing_context.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -277,8 +277,8 @@ using PublicContextCreateUIEventWithOptions =
277277
// Only C type member can be included in this class, any C++ type and classes can is not allowed to use here.
278278
struct ExecutingContextWebFMethods {
279279
static WebFValue<Document, DocumentPublicMethods> document(ExecutingContext* context);
280-
static WebFValue<Window, WindowPublicMethods> window(ExecutingContext* context);
281-
static WebFValue<Performance, PerformancePublicMethods> performance(ExecutingContext* context);
280+
static WebFValue<Window, WindowPublicMethods> window(ExecutingContext* context);
281+
static WebFValue<Performance, PerformancePublicMethods> performance(ExecutingContext* context);
282282
static WebFValue<SharedExceptionState, ExceptionStatePublicMethods> CreateExceptionState();
283283
static void FinishRecordingUIOperations(ExecutingContext* context);
284284
static void WebFSyncBuffer(ExecutingContext* context);

0 commit comments

Comments
 (0)