37 lines
1.4 KiB
Diff
37 lines
1.4 KiB
Diff
--- a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h
|
|
+++ b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h
|
|
@@ -63,7 +63,7 @@ class WTF_EXPORT ArrayBufferContents {
|
|
allocation_length_(0),
|
|
data_(data),
|
|
data_length_(0),
|
|
- kind_(AllocationKind::kNormal),
|
|
+ kind_(WTF::ArrayBufferContents::AllocationKind::kNormal),
|
|
deleter_(deleter) {}
|
|
DataHandle(void* allocation_base,
|
|
size_t allocation_length,
|
|
@@ -94,11 +94,11 @@ class WTF_EXPORT ArrayBufferContents {
|
|
reinterpret_cast<uintptr_t>(allocation_base_) +
|
|
allocation_length_);
|
|
switch (kind_) {
|
|
- case AllocationKind::kNormal:
|
|
+ case WTF::ArrayBufferContents::AllocationKind::kNormal:
|
|
DCHECK(deleter_);
|
|
deleter_(data_);
|
|
return;
|
|
- case AllocationKind::kReservation:
|
|
+ case WTF::ArrayBufferContents::AllocationKind::kReservation:
|
|
ReleaseReservedMemory(allocation_base_, allocation_length_);
|
|
return;
|
|
}
|
|
--- a/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc.orig 2017-08-15 12:45:59.433532111 +0000
|
|
+++ b/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc 2017-08-15 17:52:59.691328825 +0000
|
|
@@ -10,7 +10,7 @@
|
|
|
|
#include "webrtc/modules/audio_processing/aec3/aec_state.h"
|
|
|
|
-#include <math.h>
|
|
+#include <cmath>
|
|
#include <numeric>
|
|
#include <vector>
|
|
|