chromium-gcc5-r2.patch 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. --- a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h
  2. +++ b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h
  3. @@ -63,7 +63,7 @@ class WTF_EXPORT ArrayBufferContents {
  4. allocation_length_(0),
  5. data_(data),
  6. data_length_(0),
  7. - kind_(AllocationKind::kNormal),
  8. + kind_(WTF::ArrayBufferContents::AllocationKind::kNormal),
  9. deleter_(deleter) {}
  10. DataHandle(void* allocation_base,
  11. size_t allocation_length,
  12. @@ -94,11 +94,11 @@ class WTF_EXPORT ArrayBufferContents {
  13. reinterpret_cast<uintptr_t>(allocation_base_) +
  14. allocation_length_);
  15. switch (kind_) {
  16. - case AllocationKind::kNormal:
  17. + case WTF::ArrayBufferContents::AllocationKind::kNormal:
  18. DCHECK(deleter_);
  19. deleter_(data_);
  20. return;
  21. - case AllocationKind::kReservation:
  22. + case WTF::ArrayBufferContents::AllocationKind::kReservation:
  23. ReleaseReservedMemory(allocation_base_, allocation_length_);
  24. return;
  25. }
  26. --- a/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc.orig 2017-08-15 12:45:59.433532111 +0000
  27. +++ b/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc 2017-08-15 17:52:59.691328825 +0000
  28. @@ -10,7 +10,7 @@
  29. #include "webrtc/modules/audio_processing/aec3/aec_state.h"
  30. -#include <math.h>
  31. +#include <cmath>
  32. #include <numeric>
  33. #include <vector>