Truly independent web browser
LibWeb: Remove unused attribute_value_to_utf16
Shannon Booth511c8b3c9113
diff --git a/Libraries/LibWeb/Bindings/ExceptionOrUtils.h b/Libraries/LibWeb/Bindings/ExceptionOrUtils.hindex a79422708d4..8abc0b7bce0 100644--- a/Libraries/LibWeb/Bindings/ExceptionOrUtils.h+++ b/Libraries/LibWeb/Bindings/ExceptionOrUtils.h@@ -7,8 +7,6 @@#pragma once#include <AK/Optional.h>-#include <AK/String.h>-#include <AK/Utf16String.h>#include <LibJS/Runtime/VM.h>#include <LibWeb/WebIDL/ExceptionOr.h>@@ -26,16 +24,6 @@ constexpr bool IsThrowCompletionOr = false;template<typename T>constexpr bool IsThrowCompletionOr<JS::ThrowCompletionOr<T>> = true;-ALWAYS_INLINE Utf16String attribute_value_to_utf16(Utf16String const& value)-{- return value;-}--ALWAYS_INLINE Utf16String attribute_value_to_utf16(String const& value)-{- return Utf16String::from_utf8(value);-}-namespace Detail {template<typename T>