Skip to content

Commit

Permalink
Unreviewed, reverting c52c35e
Browse files Browse the repository at this point in the history
  • Loading branch information
carlosgcampos committed Nov 10, 2023
1 parent dd85c93 commit aec5f6d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 15 deletions.
10 changes: 1 addition & 9 deletions Source/WebCore/testing/js/WebCoreTestSupport.cpp
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2011, 2015 Google Inc. All rights reserved.
* Copyright (C) 2016-2023 Apple Inc. All rights reserved.
* Copyright (C) 2016-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
Expand Down Expand Up @@ -43,7 +43,6 @@
#include "ProcessWarming.h"
#include "SWContextManager.h"
#include "ServiceWorkerGlobalScope.h"
#include "SincResampler.h"
#include "WheelEventTestMonitor.h"
#include <JavaScriptCore/APICast.h>
#include <JavaScriptCore/CallFrame.h>
Expand Down Expand Up @@ -287,11 +286,4 @@ void populateDisassemblyLabels()

#endif // ENABLE(JIT_OPERATION_VALIDATION) || ENABLE(JIT_OPERATION_DISASSEMBLY)

#if ENABLE(WEB_AUDIO)
void testSincResamplerProcessBuffer(std::span<const float> source, std::span<float> destination, double scaleFactor)
{
SincResampler::processBuffer(source, destination, scaleFactor);
}
#endif // ENABLE(WEB_AUDIO)

} // namespace WebCoreTestSupport
7 changes: 1 addition & 6 deletions Source/WebCore/testing/js/WebCoreTestSupport.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
* Copyright (C) 2011, 2015 Google Inc. All rights reserved.
* Copyright (C) 2016-2023 Apple Inc. All rights reserved.
* Copyright (C) 2016-2022 Apple Inc. All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions
Expand All @@ -26,7 +26,6 @@

#pragma once

#include <span>
#include <wtf/Forward.h>

typedef const struct OpaqueJSContext* JSContextRef;
Expand Down Expand Up @@ -88,8 +87,4 @@ inline void populateJITOperations() { populateDisassemblyLabels(); }
inline void populateJITOperations() { }
#endif // ENABLE(JIT_OPERATION_VALIDATION) || ENABLE(JIT_OPERATION_DISASSEMBLY)

#if ENABLE(WEB_AUDIO)
void testSincResamplerProcessBuffer(std::span<const float> source, std::span<float> destination, double scaleFactor) TEST_SUPPORT_EXPORT;
#endif

} // namespace WebCoreTestSupport

0 comments on commit aec5f6d

Please sign in to comment.