Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 641544
Collapse All | Expand All

(-)chromium-64.0.3282.140.orig/gpu/ipc/common/mailbox_struct_traits.h (-1 / +1 lines)
Lines 15-21 Link Here
15
template <>
15
template <>
16
struct StructTraits<gpu::mojom::MailboxDataView, gpu::Mailbox> {
16
struct StructTraits<gpu::mojom::MailboxDataView, gpu::Mailbox> {
17
  static base::span<const int8_t> name(const gpu::Mailbox& mailbox) {
17
  static base::span<const int8_t> name(const gpu::Mailbox& mailbox) {
18
    return mailbox.name;
18
    return base::make_span(mailbox.name);
19
  }
19
  }
20
  static bool Read(gpu::mojom::MailboxDataView data, gpu::Mailbox* out);
20
  static bool Read(gpu::mojom::MailboxDataView data, gpu::Mailbox* out);
21
};
21
};
(-)chromium-64.0.3282.140.orig/services/viz/public/cpp/compositing/filter_operation_struct_traits.h (-1 / +1 lines)
Lines 137-143 Link Here
137
  static base::span<const float> matrix(const cc::FilterOperation& operation) {
137
  static base::span<const float> matrix(const cc::FilterOperation& operation) {
138
    if (operation.type() != cc::FilterOperation::COLOR_MATRIX)
138
    if (operation.type() != cc::FilterOperation::COLOR_MATRIX)
139
      return base::span<const float>();
139
      return base::span<const float>();
140
    return operation.matrix();
140
    return base::make_span(operation.matrix());
141
  }
141
  }
142
142
143
  static base::span<const gfx::Rect> shape(
143
  static base::span<const gfx::Rect> shape(
(-)chromium-64.0.3282.140.orig/services/viz/public/cpp/compositing/quads_struct_traits.h (-1 / +1 lines)
Lines 308-314 Link Here
308
  static base::span<const float> vertex_opacity(const viz::DrawQuad& input) {
308
  static base::span<const float> vertex_opacity(const viz::DrawQuad& input) {
309
    const viz::TextureDrawQuad* quad =
309
    const viz::TextureDrawQuad* quad =
310
        viz::TextureDrawQuad::MaterialCast(&input);
310
        viz::TextureDrawQuad::MaterialCast(&input);
311
    return quad->vertex_opacity;
311
    return base::make_span(quad->vertex_opacity);
312
  }
312
  }
313
313
314
  static bool y_flipped(const viz::DrawQuad& input) {
314
  static bool y_flipped(const viz::DrawQuad& input) {
(-)chromium-64.0.3282.140.orig/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h (-3 / +3 lines)
Lines 62-68 Link Here
62
          allocation_length_(0),
62
          allocation_length_(0),
63
          data_(data),
63
          data_(data),
64
          data_length_(0),
64
          data_length_(0),
65
          kind_(AllocationKind::kNormal),
65
          kind_(WTF::ArrayBufferContents::AllocationKind::kNormal),
66
          deleter_(deleter) {}
66
          deleter_(deleter) {}
67
    DataHandle(void* allocation_base,
67
    DataHandle(void* allocation_base,
68
               size_t allocation_length,
68
               size_t allocation_length,
Lines 93-103 Link Here
93
             reinterpret_cast<uintptr_t>(allocation_base_) +
93
             reinterpret_cast<uintptr_t>(allocation_base_) +
94
                 allocation_length_);
94
                 allocation_length_);
95
      switch (kind_) {
95
      switch (kind_) {
96
        case AllocationKind::kNormal:
96
        case WTF::ArrayBufferContents::AllocationKind::kNormal:
97
          DCHECK(deleter_);
97
          DCHECK(deleter_);
98
          deleter_(data_);
98
          deleter_(data_);
99
          return;
99
          return;
100
        case AllocationKind::kReservation:
100
        case WTF::ArrayBufferContents::AllocationKind::kReservation:
101
          ReleaseReservedMemory(allocation_base_, allocation_length_);
101
          ReleaseReservedMemory(allocation_base_, allocation_length_);
102
          return;
102
          return;
103
      }
103
      }
(-)chromium-64.0.3282.140.orig/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc (-1 / +1 lines)
Lines 10-16 Link Here
10
10
11
#include "modules/audio_processing/aec3/aec_state.h"
11
#include "modules/audio_processing/aec3/aec_state.h"
12
12
13
#include <math.h>
13
#include <cmath>
14
14
15
#include <numeric>
15
#include <numeric>
16
#include <vector>
16
#include <vector>

Return to bug 641544