Skip to content

Commit

Permalink
Cherry-pick 262461@main (b36decf). https://bugs.webkit.org/show_bug.c…
Browse files Browse the repository at this point in the history
…gi?id=254852

    Fix !ENABLE(WEB_AUDIO) build after 262451@main
    https://bugs.webkit.org/show_bug.cgi?id=254852

    Unreviewed build fix.

    Add !ENABLE(WEB_AUDIO) guard.

    * Source/WebCore/page/MemoryRelease.cpp:

    Canonical link: https://commits.webkit.org/262461@main
  • Loading branch information
donny-dont authored and aperezdc committed Apr 25, 2023
1 parent 5d4b6d6 commit cfa5e2a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/WebCore/page/MemoryRelease.cpp
Expand Up @@ -103,7 +103,9 @@ static void releaseCriticalMemory(Synchronous synchronous, MaintainBackForwardCa
}

CSSValuePool::singleton().drain();
#if ENABLE(WEB_AUDIO)
HRTFElevation::clearCache();
#endif

Page::forEachPage([](auto& page) {
page.cookieJar().clearCache();
Expand Down

0 comments on commit cfa5e2a

Please sign in to comment.