Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 92eed789f622c2c4954350f9d5f352bf554d69f9
      
https://github.com/WebKit/WebKit/commit/92eed789f622c2c4954350f9d5f352bf554d69f9
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-07-27 (Mon, 27 Jul 2026)

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

  Log Message:
  -----------
  Redundant shadowed fillToFrameTrunc computation in 
AudioParamTimeline::processLinearRamp()
https://bugs.webkit.org/show_bug.cgi?id=320356
rdar://183308541

Reviewed by Eric Carlson.

processLinearRamp() computed fillToFrameTrunc twice from a byte-identical
expression: an inner declaration shadowed the outer one that guards the
4-step unrolled fast path. The values are always equal, and both lines date
from 217453@main, which hoisted the computation to form the if-guard without
removing the original.

Remove the shadowing declaration, matching processSetTarget(), which computes
the same quantity once. No behavior change.

* Source/WebCore/Modules/webaudio/AudioParamTimeline.cpp:
(WebCore::AudioParamTimeline::processLinearRamp):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to