[webkit-changes] [WebKit/WebKit] 5e6a4c: Use an rvalue reference argument for the GstSpeech...

ChangSeok Oh noreply at github.com
Tue Feb 21 02:22:49 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 5e6a4c1f5660fb96e455c1722ce2b3c24ed37fd2
      https://github.com/WebKit/WebKit/commit/5e6a4c1f5660fb96e455c1722ce2b3c24ed37fd2
  Author: ChangSeok Oh <changseok at webkit.org>
  Date:   2023-02-21 (Tue, 21 Feb 2023)

  Changed paths:
    M Source/WebCore/platform/gstreamer/PlatformSpeechSynthesizerGStreamer.cpp

  Log Message:
  -----------
  Use an rvalue reference argument for the GstSpeechSynthesisWrapper constructor
https://bugs.webkit.org/show_bug.cgi?id=252653

Reviewed by Philippe Normand.

Using an rvalue reference argument, we avoid an unnecessary copy of
PlatformSpeechSynthesizer in the GstSpeechSynthesisWrapper constructor.

* Source/WebCore/platform/gstreamer/PlatformSpeechSynthesizerGStreamer.cpp:
(WebCore::GstSpeechSynthesisWrapper::GstSpeechSynthesisWrapper):

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




More information about the webkit-changes mailing list