[webkit-changes] [WebKit/WebKit] 6eceb6: Fix nit which is inefficient sequence to deleteMar...

Ahmad Saleem noreply at github.com
Sat Jan 14 11:53:34 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 6eceb6d922f3d1ba8cd0da21fc457249938cef87
      https://github.com/WebKit/WebKit/commit/6eceb6d922f3d1ba8cd0da21fc457249938cef87
  Author: Ahmad Saleem <ahmad.saleem792+github at gmail.com>
  Date:   2023-01-14 (Sat, 14 Jan 2023)

  Changed paths:
    M Source/WebCore/Modules/webaudio/BaseAudioContext.cpp

  Log Message:
  -----------
  Fix nit which is inefficient sequence to deleteMarkedNodes

Fix nit which is inefficient sequence to deleteMarkedNodes
https://bugs.webkit.org/show_bug.cgi?id=250524

Reviewed by Eric Carlson.

Merge - https://src.chromium.org/viewvc/blink?view=rev&revision=172279

This patch is just to move "deleteMarkedNodes" just after 'm_nodesToDelete' to prevent inefficient do while loop.

* Source/WebCore/Modules/webaudio/BaseAudioContext.cpp:
(BaseAudioContext::clear): Move 'deleteMarkedNodes' down

Canonical link: https://commits.webkit.org/258920@main




More information about the webkit-changes mailing list