69e5304
--- a/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h
69e5304
+++ b/third_party/WebKit/Source/platform/wtf/typed_arrays/ArrayBufferContents.h
69e5304
@@ -63,7 +63,7 @@ class WTF_EXPORT ArrayBufferContents {
69e5304
           allocation_length_(0),
69e5304
           data_(data),
69e5304
           data_length_(0),
69e5304
-          kind_(AllocationKind::kNormal),
69e5304
+          kind_(WTF::ArrayBufferContents::AllocationKind::kNormal),
69e5304
           deleter_(deleter) {}
69e5304
     DataHandle(void* allocation_base,
69e5304
                size_t allocation_length,
69e5304
@@ -94,11 +94,11 @@ class WTF_EXPORT ArrayBufferContents {
69e5304
              reinterpret_cast<uintptr_t>(allocation_base_) +
69e5304
                  allocation_length_);
69e5304
       switch (kind_) {
69e5304
-        case AllocationKind::kNormal:
69e5304
+        case WTF::ArrayBufferContents::AllocationKind::kNormal:
69e5304
           DCHECK(deleter_);
69e5304
           deleter_(data_);
69e5304
           return;
69e5304
-        case AllocationKind::kReservation:
69e5304
+        case WTF::ArrayBufferContents::AllocationKind::kReservation:
69e5304
           ReleaseReservedMemory(allocation_base_, allocation_length_);
69e5304
           return;
69e5304
       }
69e5304
--- a/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc.orig	2017-08-15 12:45:59.433532111 +0000
69e5304
+++ b/third_party/webrtc/modules/audio_processing/aec3/aec_state.cc	2017-08-15 17:52:59.691328825 +0000
69e5304
@@ -10,7 +10,7 @@
69e5304
 
69e5304
 #include "webrtc/modules/audio_processing/aec3/aec_state.h"
69e5304
 
69e5304
-#include <math.h>
69e5304
+#include <cmath>
69e5304
 #include <numeric>
69e5304
 #include <vector>
69e5304
 
69e5304
--- a/gpu/ipc/common/mailbox_struct_traits.h
69e5304
+++ b/gpu/ipc/common/mailbox_struct_traits.h
69e5304
@@ -15,7 +15,7 @@ namespace mojo {
69e5304
 template <>
69e5304
 struct StructTraits<gpu::mojom::MailboxDataView, gpu::Mailbox> {
69e5304
   static base::span<const int8_t> name(const gpu::Mailbox& mailbox) {
69e5304
-    return mailbox.name;
69e5304
+    return base::make_span(mailbox.name);
69e5304
   }
69e5304
   static bool Read(gpu::mojom::MailboxDataView data, gpu::Mailbox* out);
69e5304
 };
69e5304
--- a/services/viz/public/cpp/compositing/filter_operation_struct_traits.h
69e5304
+++ b/services/viz/public/cpp/compositing/filter_operation_struct_traits.h
69e5304
@@ -134,7 +134,7 @@ struct StructTraits<viz::mojom::FilterOperationDataView, cc::FilterOperation> {
69e5304
   static base::span<const float> matrix(const cc::FilterOperation& operation) {
69e5304
     if (operation.type() != cc::FilterOperation::COLOR_MATRIX)
69e5304
       return base::span<const float>();
69e5304
-    return operation.matrix();
69e5304
+    return base::make_span(operation.matrix());
69e5304
   }
69e5304
 
69e5304
   static base::span<const gfx::Rect> shape(
69e5304
--- a/services/viz/public/cpp/compositing/quads_struct_traits.h
69e5304
+++ b/services/viz/public/cpp/compositing/quads_struct_traits.h
69e5304
@@ -284,7 +284,7 @@
69e5304
 
69e5304
   static base::span<const float> vertex_opacity(const cc::DrawQuad& input) {
69e5304
     const cc::TextureDrawQuad* quad = cc::TextureDrawQuad::MaterialCast(&input);
69e5304
-    return quad->vertex_opacity;
69e5304
+    return base::make_span(quad->vertex_opacity);
69e5304
   }
69e5304
 
69e5304
   static bool y_flipped(const cc::DrawQuad& input) {
69e5304
--- a/third_party/WebKit/Source/platform/exported/WebCORS.cpp
69e5304
+++ b/third_party/WebKit/Source/platform/exported/WebCORS.cpp
69e5304
@@ -480,7 +480,7 @@ WebString AccessControlErrorString(
69e5304
     }
69e5304
     default:
69e5304
       NOTREACHED();
69e5304
-      return "";
69e5304
+      return WebString();
69e5304
   }
69e5304
 }
69e5304
 
69e5304
@@ -512,7 +512,7 @@ WebString PreflightErrorString(const PreflightStatus status,
69e5304
     }
69e5304
     default:
69e5304
       NOTREACHED();
69e5304
-      return "";
69e5304
+      return WebString();
69e5304
   }
69e5304
 }
69e5304
 
69e5304
@@ -533,7 +533,7 @@ WebString RedirectErrorString(const RedirectStatus status,
69e5304
     }
69e5304
     default:
69e5304
       NOTREACHED();
69e5304
-      return "";
69e5304
+      return WebString();
69e5304
   }
69e5304
 }
69e5304