Skip to content

Commit dbfa66f

Browse files
author
openwebf-bot
committed
Committing clang-format changes
1 parent bf02552 commit dbfa66f

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

bridge/bindings/v8/atomic_string.cc

+2-2
Original file line numberDiff line numberDiff line change
@@ -139,11 +139,11 @@ const uint16_t* AtomicString::Character16() const {
139139
}
140140

141141
int AtomicString::Find(bool (*CharacterMatchFunction)(char)) const {
142-
// return JS_FindCharacterInAtom(runtime_, atom_, CharacterMatchFunction);
142+
// return JS_FindCharacterInAtom(runtime_, atom_, CharacterMatchFunction);
143143
}
144144

145145
int AtomicString::Find(bool (*CharacterMatchFunction)(uint16_t)) const {
146-
// return JS_FindWCharacterInAtom(runtime_, atom_, CharacterMatchFunction);
146+
// return JS_FindWCharacterInAtom(runtime_, atom_, CharacterMatchFunction);
147147
}
148148

149149
std::string AtomicString::ToStdString(v8::Isolate* isolate) const {

bridge/bindings/v8/atomic_string.h

+1-3
Original file line numberDiff line numberDiff line change
@@ -42,9 +42,7 @@ class AtomicString {
4242
AtomicString(v8::Isolate* isolate, const uint16_t* str, size_t length);
4343

4444
// Return the undefined string value from atom key.
45-
v8::Local<v8::Value> ToV8(v8::Isolate* isolate) const {
46-
return string_.As<v8::Value>();
47-
}
45+
v8::Local<v8::Value> ToV8(v8::Isolate* isolate) const { return string_.As<v8::Value>(); }
4846

4947
bool IsEmpty() const;
5048
bool IsNull() const;

bridge/core/dom/element_data.h

-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88

99
#if WEBF_V8_JS_ENGINE
1010

11-
1211
#elif WEBF_QUICKJS_JS_ENGINE
1312
#include "bindings/qjs/atomic_string.h"
1413
#include "bindings/qjs/cppgc/gc_visitor.h"

0 commit comments

Comments
 (0)