Skip to content

Commit

Permalink
fix: fix android armv7 compile
Browse files Browse the repository at this point in the history
  • Loading branch information
andycall committed Mar 25, 2024
1 parent 1dad885 commit 3fcd3c5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bridge/core/events/hashchange_event.cc
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ HashchangeEvent::HashchangeEvent(webf::ExecutingContext* context,
#if ANDROID_32_BIT
new_url_(AtomicString(ctx(),
std::unique_ptr<AutoFreeNativeString>(
reinterpret_cast<AutoFreeNativeString*>(native_gesture_event->newURL)))),
reinterpret_cast<AutoFreeNativeString*>(native_hash_change_event->newURL)))),
old_url_(AtomicString(
ctx(),
std::unique_ptr<AutoFreeNativeString>(reinterpret_cast<AutoFreeNativeString*>(native_gesture_event->oldURL))))
std::unique_ptr<AutoFreeNativeString>(reinterpret_cast<AutoFreeNativeString*>(native_hash_change_event->oldURL))))
#else
new_url_(AtomicString(ctx(),
std::unique_ptr<AutoFreeNativeString>(
Expand Down

0 comments on commit 3fcd3c5

Please sign in to comment.