mozilla-silence-no-return-type.patch
branchfirefox111
changeset 1185 da29365b0b2c
parent 1184 1c3d3217d679
child 1188 a2caa2a2494f
equal deleted inserted replaced
1184:1c3d3217d679 1185:da29365b0b2c
     1 # HG changeset patch
     1 # HG changeset patch
     2 # Parent  2ac470c477a4897e48ca399b50614af79fececc4
     2 # Parent  c9ee7d75ce3f624221f3ba8ef7c821f501c9a028
     3 
     3 
     4 diff --git a/Cargo.lock b/Cargo.lock
     4 diff --git a/Cargo.lock b/Cargo.lock
     5 --- a/Cargo.lock
     5 --- a/Cargo.lock
     6 +++ b/Cargo.lock
     6 +++ b/Cargo.lock
     7 @@ -2367,18 +2367,16 @@ name = "glsl-to-cxx"
     7 @@ -2370,18 +2370,16 @@ name = "glsl-to-cxx"
     8  version = "0.1.0"
     8  version = "0.1.0"
     9  dependencies = [
     9  dependencies = [
    10   "glsl",
    10   "glsl",
    11  ]
    11  ]
    12  
    12  
    24  version = "0.1.0"
    24  version = "0.1.0"
    25  dependencies = [
    25  dependencies = [
    26 diff --git a/Cargo.toml b/Cargo.toml
    26 diff --git a/Cargo.toml b/Cargo.toml
    27 --- a/Cargo.toml
    27 --- a/Cargo.toml
    28 +++ b/Cargo.toml
    28 +++ b/Cargo.toml
    29 @@ -155,16 +155,17 @@ chardetng_c = { git = "https://github.co
    29 @@ -158,16 +158,17 @@ chardetng_c = { git = "https://github.co
    30  coremidi = { git = "https://github.com/chris-zen/coremidi.git", rev="fc68464b5445caf111e41f643a2e69ccce0b4f83" }
    30  coremidi = { git = "https://github.com/chris-zen/coremidi.git", rev="fc68464b5445caf111e41f643a2e69ccce0b4f83" }
    31  fog = { path = "toolkit/components/glean/api" }
    31  firefox-on-glean = { path = "toolkit/components/glean/api" }
    32  libudev-sys = { path = "dom/webauthn/libudev-sys" }
    32  libudev-sys = { path = "dom/webauthn/libudev-sys" }
    33  packed_simd = { package = "packed_simd_2", git = "https://github.com/hsivonen/packed_simd", rev="412f9a0aa556611de021bde89dee8fefe6e0fbbd" }
    33  packed_simd = { package = "packed_simd_2", git = "https://github.com/hsivonen/packed_simd", rev="412f9a0aa556611de021bde89dee8fefe6e0fbbd" }
    34  midir = { git = "https://github.com/mozilla/midir.git", rev = "519e651241e867af3391db08f9ae6400bc023e18" }
    34  midir = { git = "https://github.com/mozilla/midir.git", rev = "519e651241e867af3391db08f9ae6400bc023e18" }
    35  minidump-writer = { git = "https://github.com/rust-minidump/minidump-writer.git", rev = "7d76616d27b9dc87fe3a94639b8b4f947d52a6aa" }
    35  minidump-writer = { git = "https://github.com/rust-minidump/minidump-writer.git", rev = "7d76616d27b9dc87fe3a94639b8b4f947d52a6aa" }
    36  # warp 0.3.3 + https://github.com/seanmonstar/warp/pull/1007
    36  # warp 0.3.3 + https://github.com/seanmonstar/warp/pull/1007
    37  warp = { git = "https://github.com/glandium/warp", rev = "4af45fae95bc98b0eba1ef0db17e1dac471bb23d" }
    37  warp = { git = "https://github.com/glandium/warp", rev = "4af45fae95bc98b0eba1ef0db17e1dac471bb23d" }
    38 +glslopt = { path = "third_party/rust/glslopt/" }
    38 +glslopt = { path = "third_party/rust/glslopt/" }
    39  
    39  
       
    40  cssparser = { git = "https://github.com/servo/rust-cssparser", rev = "d3670a89bae26ba3a8db4758eb7976616113987d" }
       
    41  
    40  # application-services overrides to make updating them all simpler.
    42  # application-services overrides to make updating them all simpler.
    41  interrupt-support = { git = "https://github.com/mozilla/application-services", rev = "51b984ecb21ba00694c3eee33364123a064a7cbb" }
    43  interrupt-support = { git = "https://github.com/bendk/application-services", rev = "ecb35df5fc40357c49922f90e86bf4147fa52953" }
    42  sql-support = { git = "https://github.com/mozilla/application-services", rev = "51b984ecb21ba00694c3eee33364123a064a7cbb" }
    44  sql-support = { git = "https://github.com/bendk/application-services", rev = "ecb35df5fc40357c49922f90e86bf4147fa52953" }
    43  sync15 = { git = "https://github.com/mozilla/application-services", rev = "51b984ecb21ba00694c3eee33364123a064a7cbb" }
    45  sync15 = { git = "https://github.com/bendk/application-services", rev = "ecb35df5fc40357c49922f90e86bf4147fa52953" }
    44  tabs = { git = "https://github.com/mozilla/application-services", rev = "51b984ecb21ba00694c3eee33364123a064a7cbb" }
    46  tabs = { git = "https://github.com/bendk/application-services", rev = "ecb35df5fc40357c49922f90e86bf4147fa52953" }
    45  viaduct = { git = "https://github.com/mozilla/application-services", rev = "51b984ecb21ba00694c3eee33364123a064a7cbb" }
       
    46  webext-storage = { git = "https://github.com/mozilla/application-services", rev = "51b984ecb21ba00694c3eee33364123a064a7cbb" }
       
    47 diff --git a/gfx/skia/skia/include/codec/SkEncodedOrigin.h b/gfx/skia/skia/include/codec/SkEncodedOrigin.h
    47 diff --git a/gfx/skia/skia/include/codec/SkEncodedOrigin.h b/gfx/skia/skia/include/codec/SkEncodedOrigin.h
    48 --- a/gfx/skia/skia/include/codec/SkEncodedOrigin.h
    48 --- a/gfx/skia/skia/include/codec/SkEncodedOrigin.h
    49 +++ b/gfx/skia/skia/include/codec/SkEncodedOrigin.h
    49 +++ b/gfx/skia/skia/include/codec/SkEncodedOrigin.h
    50 @@ -36,12 +36,13 @@ static inline SkMatrix SkEncodedOriginTo
    50 @@ -36,12 +36,13 @@ static inline SkMatrix SkEncodedOriginTo
    51          case kBottomRight_SkEncodedOrigin: return SkMatrix::MakeAll(-1,  0, w,  0, -1, h, 0, 0, 1);
    51          case kBottomRight_SkEncodedOrigin: return SkMatrix::MakeAll(-1,  0, w,  0, -1, h, 0, 0, 1);
  2138  VideoStreamAdapter::GetAdaptDownResolutionStepForBalanced(
  2138  VideoStreamAdapter::GetAdaptDownResolutionStepForBalanced(
  2139      const VideoStreamInputState& input_state) const {
  2139      const VideoStreamInputState& input_state) const {
  2140    // Adapt twice if the first adaptation did not decrease resolution.
  2140    // Adapt twice if the first adaptation did not decrease resolution.
  2141    auto first_step = GetAdaptationDownStep(input_state, current_restrictions_);
  2141    auto first_step = GetAdaptationDownStep(input_state, current_restrictions_);
  2142    if (!absl::holds_alternative<RestrictionsWithCounters>(first_step)) {
  2142    if (!absl::holds_alternative<RestrictionsWithCounters>(first_step)) {
  2143 diff --git a/third_party/libwebrtc/call/simulated_network.cc b/third_party/libwebrtc/call/simulated_network.cc
       
  2144 --- a/third_party/libwebrtc/call/simulated_network.cc
       
  2145 +++ b/third_party/libwebrtc/call/simulated_network.cc
       
  2146 @@ -73,16 +73,17 @@ bool CoDelSimulation::DropDequeuedPacket
       
  2147            state_ = kPending;
       
  2148          last_drop_at_ = next_drop_at;
       
  2149          ++drop_count_;
       
  2150          return true;
       
  2151        }
       
  2152        return false;
       
  2153    }
       
  2154    RTC_CHECK_NOTREACHED();
       
  2155 +  return false;
       
  2156  }
       
  2157  
       
  2158  SimulatedNetwork::SimulatedNetwork(Config config, uint64_t random_seed)
       
  2159      : random_(random_seed), bursting_(false) {
       
  2160    SetConfig(config);
       
  2161  }
       
  2162  
       
  2163  SimulatedNetwork::~SimulatedNetwork() = default;
       
  2164 diff --git a/third_party/libwebrtc/call/video_send_stream.cc b/third_party/libwebrtc/call/video_send_stream.cc
  2143 diff --git a/third_party/libwebrtc/call/video_send_stream.cc b/third_party/libwebrtc/call/video_send_stream.cc
  2165 --- a/third_party/libwebrtc/call/video_send_stream.cc
  2144 --- a/third_party/libwebrtc/call/video_send_stream.cc
  2166 +++ b/third_party/libwebrtc/call/video_send_stream.cc
  2145 +++ b/third_party/libwebrtc/call/video_send_stream.cc
  2167 @@ -25,16 +25,17 @@ const char* StreamTypeToString(VideoSend
  2146 @@ -25,16 +25,17 @@ const char* StreamTypeToString(VideoSend
  2168      case VideoSendStream::StreamStats::StreamType::kMedia:
  2147      case VideoSendStream::StreamStats::StreamType::kMedia:
  2239    return !field_trial::IsEnabled("WebRTC-MutedStateKillSwitch");
  2218    return !field_trial::IsEnabled("WebRTC-MutedStateKillSwitch");
  2240  }
  2219  }
  2241  
  2220  
  2242  // Maximum lengths that frame of samples being passed from the render side to
  2221  // Maximum lengths that frame of samples being passed from the render side to
  2243  // the capture side can have (does not apply to AEC3).
  2222  // the capture side can have (does not apply to AEC3).
  2244 @@ -1956,16 +1957,17 @@ void AudioProcessingImpl::InitializeNois
  2223 @@ -1980,16 +1981,17 @@ void AudioProcessingImpl::InitializeNois
  2245              case NoiseSuppresionConfig::kModerate:
  2224              case NoiseSuppresionConfig::kModerate:
  2246                return NsConfig::SuppressionLevel::k12dB;
  2225                return NsConfig::SuppressionLevel::k12dB;
  2247              case NoiseSuppresionConfig::kHigh:
  2226              case NoiseSuppresionConfig::kHigh:
  2248                return NsConfig::SuppressionLevel::k18dB;
  2227                return NsConfig::SuppressionLevel::k18dB;
  2249              case NoiseSuppresionConfig::kVeryHigh:
  2228              case NoiseSuppresionConfig::kVeryHigh: