Skip to content

Commit

Permalink
Committing clang-format changes
Browse files Browse the repository at this point in the history
  • Loading branch information
openwebf-bot committed Mar 27, 2024
1 parent bf02552 commit dbfa66f
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 6 deletions.
4 changes: 2 additions & 2 deletions bridge/bindings/v8/atomic_string.cc
Original file line number Diff line number Diff line change
Expand Up @@ -139,11 +139,11 @@ const uint16_t* AtomicString::Character16() const {
}

int AtomicString::Find(bool (*CharacterMatchFunction)(char)) const {
// return JS_FindCharacterInAtom(runtime_, atom_, CharacterMatchFunction);
// return JS_FindCharacterInAtom(runtime_, atom_, CharacterMatchFunction);
}

int AtomicString::Find(bool (*CharacterMatchFunction)(uint16_t)) const {
// return JS_FindWCharacterInAtom(runtime_, atom_, CharacterMatchFunction);
// return JS_FindWCharacterInAtom(runtime_, atom_, CharacterMatchFunction);
}

std::string AtomicString::ToStdString(v8::Isolate* isolate) const {
Expand Down
4 changes: 1 addition & 3 deletions bridge/bindings/v8/atomic_string.h
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,7 @@ class AtomicString {
AtomicString(v8::Isolate* isolate, const uint16_t* str, size_t length);

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

bool IsEmpty() const;
bool IsNull() const;
Expand Down
1 change: 0 additions & 1 deletion bridge/core/dom/element_data.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

#if WEBF_V8_JS_ENGINE


#elif WEBF_QUICKJS_JS_ENGINE
#include "bindings/qjs/atomic_string.h"
#include "bindings/qjs/cppgc/gc_visitor.h"
Expand Down

0 comments on commit dbfa66f

Please sign in to comment.