Autoformat everything except tests/examples

Done by:
- Appending an extra newline at the end of src/**/*.{cpp,h,mm,gn}
  except src/tests/*
- Running git cl format --full to format the full contents of every
  changed file

Bug: none
Change-Id: Id88fc5ed0c5efbbc93b2c6a305c2f98465fe646d
Reviewed-on: https://dawn-review.googlesource.com/c/dawn/+/24641
Reviewed-by: Corentin Wallez <cwallez@chromium.org>
Reviewed-by: Austin Eng <enga@chromium.org>
Commit-Queue: Kai Ninomiya <kainino@chromium.org>
diff --git a/src/common/LinkedList.h b/src/common/LinkedList.h
index 69fcf78..47ca1eb 100644
--- a/src/common/LinkedList.h
+++ b/src/common/LinkedList.h
@@ -197,4 +197,4 @@
   private:
     LinkNode<T> root_;
 };
-#endif  // COMMON_LINKED_LIST_H
\ No newline at end of file
+#endif  // COMMON_LINKED_LIST_H
diff --git a/src/common/Math.cpp b/src/common/Math.cpp
index 6280755..8e5985f 100644
--- a/src/common/Math.cpp
+++ b/src/common/Math.cpp
@@ -159,4 +159,4 @@
     ASSERT(n > 0);
     ASSERT(m <= std::numeric_limits<uint64_t>::max() - n);
     return ((n + m - 1) / m) * m;
-}
\ No newline at end of file
+}
diff --git a/src/common/SerialStorage.h b/src/common/SerialStorage.h
index 6f38213..d71c7dd 100644
--- a/src/common/SerialStorage.h
+++ b/src/common/SerialStorage.h
@@ -280,8 +280,8 @@
 }
 
 template <typename Derived>
-typename SerialStorage<Derived>::ConstIterator& SerialStorage<Derived>::ConstIterator::
-operator++() {
+typename SerialStorage<Derived>::ConstIterator&
+SerialStorage<Derived>::ConstIterator::operator++() {
     const Value* vectorData = mStorageIterator->second.data();
 
     if (mSerialIterator == nullptr) {
diff --git a/src/dawn/BUILD.gn b/src/dawn/BUILD.gn
index d095e9a..9034be4 100644
--- a/src/dawn/BUILD.gn
+++ b/src/dawn/BUILD.gn
@@ -39,9 +39,7 @@
 
 source_set("dawn_headers") {
   all_dependent_configs = [ "${dawn_root}/src/common:dawn_public_include_dirs" ]
-  public_deps = [
-    ":dawn_headers_gen",
-  ]
+  public_deps = [ ":dawn_headers_gen" ]
 
   sources = get_target_outputs(":dawn_headers_gen")
   sources += [ "${dawn_root}/src/include/dawn/dawn_wsi.h" ]
@@ -53,9 +51,7 @@
 
 dawn_json_generator("dawncpp_headers_gen") {
   target = "dawncpp_headers"
-  outputs = [
-    "src/include/dawn/webgpu_cpp.h",
-  ]
+  outputs = [ "src/include/dawn/webgpu_cpp.h" ]
 }
 
 source_set("dawncpp_headers") {
@@ -74,9 +70,7 @@
 
 dawn_json_generator("dawncpp_gen") {
   target = "dawncpp"
-  outputs = [
-    "src/dawn/webgpu_cpp.cpp",
-  ]
+  outputs = [ "src/dawn/webgpu_cpp.cpp" ]
 }
 
 source_set("dawncpp") {
@@ -93,20 +87,14 @@
 
 dawn_json_generator("dawn_proc_gen") {
   target = "dawn_proc"
-  outputs = [
-    "src/dawn/dawn_proc.c",
-  ]
+  outputs = [ "src/dawn/dawn_proc.c" ]
 }
 
 dawn_component("dawn_proc") {
   DEFINE_PREFIX = "WGPU"
 
-  public_deps = [
-    ":dawn_headers",
-  ]
-  deps = [
-    ":dawn_proc_gen",
-  ]
+  public_deps = [ ":dawn_headers" ]
+  deps = [ ":dawn_proc_gen" ]
   sources = get_target_outputs(":dawn_proc_gen")
   sources += [ "${dawn_root}/src/include/dawn/dawn_proc.h" ]
 }
diff --git a/src/dawn_native/BindGroupLayout.cpp b/src/dawn_native/BindGroupLayout.cpp
index fce8b90..54a8804 100644
--- a/src/dawn_native/BindGroupLayout.cpp
+++ b/src/dawn_native/BindGroupLayout.cpp
@@ -415,7 +415,7 @@
             }
 
             if (binding.viewDimension == wgpu::TextureViewDimension::Undefined) {
-                    mBindingInfo[i].viewDimension = wgpu::TextureViewDimension::e2D;
+                mBindingInfo[i].viewDimension = wgpu::TextureViewDimension::e2D;
             } else {
                 mBindingInfo[i].viewDimension = binding.viewDimension;
             }
diff --git a/src/dawn_native/DynamicUploader.cpp b/src/dawn_native/DynamicUploader.cpp
index be92ea0..a732f49 100644
--- a/src/dawn_native/DynamicUploader.cpp
+++ b/src/dawn_native/DynamicUploader.cpp
@@ -108,4 +108,4 @@
         }
         mReleasedStagingBuffers.ClearUpTo(lastCompletedSerial);
     }
-}  // namespace dawn_native
\ No newline at end of file
+}  // namespace dawn_native
diff --git a/src/dawn_native/Instance.cpp b/src/dawn_native/Instance.cpp
index c7a1e31..58e6cff 100644
--- a/src/dawn_native/Instance.cpp
+++ b/src/dawn_native/Instance.cpp
@@ -145,7 +145,7 @@
 #    if defined(DAWN_ENABLE_SWIFTSHADER)
         Register(vulkan::Connect(this, true), wgpu::BackendType::Vulkan);
 #    endif  // defined(DAWN_ENABLE_SWIFTSHADER)
-#endif  // defined(DAWN_ENABLE_BACKEND_VULKAN)
+#endif      // defined(DAWN_ENABLE_BACKEND_VULKAN)
 #if defined(DAWN_ENABLE_BACKEND_OPENGL)
         Register(opengl::Connect(this), wgpu::BackendType::OpenGL);
 #endif  // defined(DAWN_ENABLE_BACKEND_OPENGL)
diff --git a/src/dawn_native/MapRequestTracker.cpp b/src/dawn_native/MapRequestTracker.cpp
index 8f33e02..956dfa0 100644
--- a/src/dawn_native/MapRequestTracker.cpp
+++ b/src/dawn_native/MapRequestTracker.cpp
@@ -43,4 +43,4 @@
         }
         mInflightRequests.ClearUpTo(finishedSerial);
     }
-}  // namespace dawn_native
\ No newline at end of file
+}  // namespace dawn_native
diff --git a/src/dawn_native/Pipeline.cpp b/src/dawn_native/Pipeline.cpp
index 074f647..ae05c02 100644
--- a/src/dawn_native/Pipeline.cpp
+++ b/src/dawn_native/Pipeline.cpp
@@ -102,4 +102,4 @@
         return bgl;
     }
 
-}  // namespace dawn_native
\ No newline at end of file
+}  // namespace dawn_native
diff --git a/src/dawn_native/PipelineLayout.cpp b/src/dawn_native/PipelineLayout.cpp
index 995a3ee..0cccabf 100644
--- a/src/dawn_native/PipelineLayout.cpp
+++ b/src/dawn_native/PipelineLayout.cpp
@@ -316,4 +316,4 @@
         return true;
     }
 
-}  // namespace dawn_native
\ No newline at end of file
+}  // namespace dawn_native
diff --git a/src/dawn_native/ResourceHeap.h b/src/dawn_native/ResourceHeap.h
index 6e6af79..e9a4a67 100644
--- a/src/dawn_native/ResourceHeap.h
+++ b/src/dawn_native/ResourceHeap.h
@@ -28,4 +28,4 @@
 
 }  // namespace dawn_native
 
-#endif  // DAWNNATIVE_RESOURCEHEAP_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_RESOURCEHEAP_H_
diff --git a/src/dawn_native/ResourceMemoryAllocation.cpp b/src/dawn_native/ResourceMemoryAllocation.cpp
index 0d726c9..b1c35d4 100644
--- a/src/dawn_native/ResourceMemoryAllocation.cpp
+++ b/src/dawn_native/ResourceMemoryAllocation.cpp
@@ -50,4 +50,4 @@
         mResourceHeap = nullptr;
         mInfo = {};
     }
-}  // namespace dawn_native
\ No newline at end of file
+}  // namespace dawn_native
diff --git a/src/dawn_native/RingBufferAllocator.h b/src/dawn_native/RingBufferAllocator.h
index e437632..50b0f15 100644
--- a/src/dawn_native/RingBufferAllocator.h
+++ b/src/dawn_native/RingBufferAllocator.h
@@ -56,4 +56,4 @@
     };
 }  // namespace dawn_native
 
-#endif  // DAWNNATIVE_RINGBUFFERALLOCATOR_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_RINGBUFFERALLOCATOR_H_
diff --git a/src/dawn_native/StagingBuffer.cpp b/src/dawn_native/StagingBuffer.cpp
index 51f5fa8..63dd65e 100644
--- a/src/dawn_native/StagingBuffer.cpp
+++ b/src/dawn_native/StagingBuffer.cpp
@@ -26,4 +26,4 @@
     void* StagingBufferBase::GetMappedPointer() const {
         return mMappedPointer;
     }
-}  // namespace dawn_native
\ No newline at end of file
+}  // namespace dawn_native
diff --git a/src/dawn_native/StagingBuffer.h b/src/dawn_native/StagingBuffer.h
index 1da8900..4d19548 100644
--- a/src/dawn_native/StagingBuffer.h
+++ b/src/dawn_native/StagingBuffer.h
@@ -38,4 +38,4 @@
 
 }  // namespace dawn_native
 
-#endif  // DAWNNATIVE_STAGINGBUFFER_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_STAGINGBUFFER_H_
diff --git a/src/dawn_native/d3d12/BackendD3D12.h b/src/dawn_native/d3d12/BackendD3D12.h
index 27ef1d1..403943a 100644
--- a/src/dawn_native/d3d12/BackendD3D12.h
+++ b/src/dawn_native/d3d12/BackendD3D12.h
@@ -47,4 +47,4 @@
 
 }}  // namespace dawn_native::d3d12
 
-#endif  // DAWNNATIVE_D3D12_BACKENDD3D12_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_D3D12_BACKENDD3D12_H_
diff --git a/src/dawn_native/d3d12/CPUDescriptorHeapAllocationD3D12.cpp b/src/dawn_native/d3d12/CPUDescriptorHeapAllocationD3D12.cpp
index 021c47a..d923985 100644
--- a/src/dawn_native/d3d12/CPUDescriptorHeapAllocationD3D12.cpp
+++ b/src/dawn_native/d3d12/CPUDescriptorHeapAllocationD3D12.cpp
@@ -50,4 +50,4 @@
         mBaseDescriptor = {0};
     }
 
-}}  // namespace dawn_native::d3d12
\ No newline at end of file
+}}  // namespace dawn_native::d3d12
diff --git a/src/dawn_native/d3d12/CPUDescriptorHeapAllocationD3D12.h b/src/dawn_native/d3d12/CPUDescriptorHeapAllocationD3D12.h
index 05aaf51..51ae2fd 100644
--- a/src/dawn_native/d3d12/CPUDescriptorHeapAllocationD3D12.h
+++ b/src/dawn_native/d3d12/CPUDescriptorHeapAllocationD3D12.h
@@ -44,4 +44,4 @@
 
 }}  // namespace dawn_native::d3d12
 
-#endif  // DAWNNATIVE_D3D12_CPUDESCRIPTORHEAPALLOCATION_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_D3D12_CPUDESCRIPTORHEAPALLOCATION_H_
diff --git a/src/dawn_native/d3d12/D3D12Error.h b/src/dawn_native/d3d12/D3D12Error.h
index 16ea4c4..ade06fe 100644
--- a/src/dawn_native/d3d12/D3D12Error.h
+++ b/src/dawn_native/d3d12/D3D12Error.h
@@ -42,4 +42,4 @@
 
 }}  // namespace dawn_native::d3d12
 
-#endif  // DAWNNATIVE_D3D12_D3D12ERROR_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_D3D12_D3D12ERROR_H_
diff --git a/src/dawn_native/d3d12/D3D12Info.h b/src/dawn_native/d3d12/D3D12Info.h
index cce74b1..51134df 100644
--- a/src/dawn_native/d3d12/D3D12Info.h
+++ b/src/dawn_native/d3d12/D3D12Info.h
@@ -37,4 +37,4 @@
     ResultOrError<D3D12DeviceInfo> GatherDeviceInfo(const Adapter& adapter);
 }}  // namespace dawn_native::d3d12
 
-#endif  // DAWNNATIVE_D3D12_D3D12INFO_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_D3D12_D3D12INFO_H_
diff --git a/src/dawn_native/d3d12/GPUDescriptorHeapAllocationD3D12.cpp b/src/dawn_native/d3d12/GPUDescriptorHeapAllocationD3D12.cpp
index c72605a..3d3ba20 100644
--- a/src/dawn_native/d3d12/GPUDescriptorHeapAllocationD3D12.cpp
+++ b/src/dawn_native/d3d12/GPUDescriptorHeapAllocationD3D12.cpp
@@ -36,4 +36,4 @@
     Serial GPUDescriptorHeapAllocation::GetHeapSerial() const {
         return mHeapSerial;
     }
-}}  // namespace dawn_native::d3d12
\ No newline at end of file
+}}  // namespace dawn_native::d3d12
diff --git a/src/dawn_native/d3d12/GPUDescriptorHeapAllocationD3D12.h b/src/dawn_native/d3d12/GPUDescriptorHeapAllocationD3D12.h
index c18d266..08930d7 100644
--- a/src/dawn_native/d3d12/GPUDescriptorHeapAllocationD3D12.h
+++ b/src/dawn_native/d3d12/GPUDescriptorHeapAllocationD3D12.h
@@ -40,4 +40,4 @@
 
 }}  // namespace dawn_native::d3d12
 
-#endif  // DAWNNATIVE_D3D12_CPUDESCRIPTORHEAPALLOCATION_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_D3D12_CPUDESCRIPTORHEAPALLOCATION_H_
diff --git a/src/dawn_native/d3d12/HeapD3D12.cpp b/src/dawn_native/d3d12/HeapD3D12.cpp
index ade5d4a..7bb4e32 100644
--- a/src/dawn_native/d3d12/HeapD3D12.cpp
+++ b/src/dawn_native/d3d12/HeapD3D12.cpp
@@ -28,4 +28,4 @@
         return mD3d12Heap.Get();
     }
 
-}}  // namespace dawn_native::d3d12
\ No newline at end of file
+}}  // namespace dawn_native::d3d12
diff --git a/src/dawn_native/d3d12/HeapD3D12.h b/src/dawn_native/d3d12/HeapD3D12.h
index 715ffcd..b59c644 100644
--- a/src/dawn_native/d3d12/HeapD3D12.h
+++ b/src/dawn_native/d3d12/HeapD3D12.h
@@ -37,4 +37,4 @@
     };
 }}  // namespace dawn_native::d3d12
 
-#endif  // DAWNNATIVE_D3D12_HEAPD3D12_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_D3D12_HEAPD3D12_H_
diff --git a/src/dawn_native/d3d12/PageableD3D12.cpp b/src/dawn_native/d3d12/PageableD3D12.cpp
index 5884780..5c5ef9c 100644
--- a/src/dawn_native/d3d12/PageableD3D12.cpp
+++ b/src/dawn_native/d3d12/PageableD3D12.cpp
@@ -73,4 +73,4 @@
     bool Pageable::IsResidencyLocked() const {
         return mResidencyLockRefCount != 0;
     }
-}}  // namespace dawn_native::d3d12
\ No newline at end of file
+}}  // namespace dawn_native::d3d12
diff --git a/src/dawn_native/d3d12/RenderPassBuilderD3D12.cpp b/src/dawn_native/d3d12/RenderPassBuilderD3D12.cpp
index 1965784..66558cb 100644
--- a/src/dawn_native/d3d12/RenderPassBuilderD3D12.cpp
+++ b/src/dawn_native/d3d12/RenderPassBuilderD3D12.cpp
@@ -234,4 +234,4 @@
             D3D12_RENDER_PASS_ENDING_ACCESS_TYPE_NO_ACCESS;
     }
 
-}}  // namespace dawn_native::d3d12
\ No newline at end of file
+}}  // namespace dawn_native::d3d12
diff --git a/src/dawn_native/d3d12/RenderPassBuilderD3D12.h b/src/dawn_native/d3d12/RenderPassBuilderD3D12.h
index aadb2e8..cf61a18 100644
--- a/src/dawn_native/d3d12/RenderPassBuilderD3D12.h
+++ b/src/dawn_native/d3d12/RenderPassBuilderD3D12.h
@@ -88,4 +88,4 @@
     };
 }}  // namespace dawn_native::d3d12
 
-#endif  // DAWNNATIVE_D3D12_RENDERPASSBUILDERD3D12_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_D3D12_RENDERPASSBUILDERD3D12_H_
diff --git a/src/dawn_native/d3d12/RenderPipelineD3D12.cpp b/src/dawn_native/d3d12/RenderPipelineD3D12.cpp
index f629e76..fc0331e 100644
--- a/src/dawn_native/d3d12/RenderPipelineD3D12.cpp
+++ b/src/dawn_native/d3d12/RenderPipelineD3D12.cpp
@@ -327,7 +327,6 @@
 
         wgpu::ShaderStage renderStages = wgpu::ShaderStage::Vertex | wgpu::ShaderStage::Fragment;
         for (auto stage : IterateStages(renderStages)) {
-
             std::string hlslSource;
             DAWN_TRY_ASSIGN(hlslSource, modules[stage]->GetHLSLSource(ToBackend(GetLayout())));
 
diff --git a/src/dawn_native/d3d12/ResidencyManagerD3D12.cpp b/src/dawn_native/d3d12/ResidencyManagerD3D12.cpp
index 053a169..e66296e 100644
--- a/src/dawn_native/d3d12/ResidencyManagerD3D12.cpp
+++ b/src/dawn_native/d3d12/ResidencyManagerD3D12.cpp
@@ -367,4 +367,4 @@
         }
     }
 
-}}  // namespace dawn_native::d3d12
\ No newline at end of file
+}}  // namespace dawn_native::d3d12
diff --git a/src/dawn_native/d3d12/ResidencyManagerD3D12.h b/src/dawn_native/d3d12/ResidencyManagerD3D12.h
index 304a211..a79a4fc 100644
--- a/src/dawn_native/d3d12/ResidencyManagerD3D12.h
+++ b/src/dawn_native/d3d12/ResidencyManagerD3D12.h
@@ -80,4 +80,4 @@
 
 }}  // namespace dawn_native::d3d12
 
-#endif  // DAWNNATIVE_D3D12_RESIDENCYMANAGERD3D12_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_D3D12_RESIDENCYMANAGERD3D12_H_
diff --git a/src/dawn_native/d3d12/SamplerHeapCacheD3D12.cpp b/src/dawn_native/d3d12/SamplerHeapCacheD3D12.cpp
index 224051a..8ba3aab 100644
--- a/src/dawn_native/d3d12/SamplerHeapCacheD3D12.cpp
+++ b/src/dawn_native/d3d12/SamplerHeapCacheD3D12.cpp
@@ -164,4 +164,4 @@
                                                          const SamplerHeapCacheEntry* b) const {
         return a->mSamplers == b->mSamplers;
     }
-}}  // namespace dawn_native::d3d12
\ No newline at end of file
+}}  // namespace dawn_native::d3d12
diff --git a/src/dawn_native/d3d12/SamplerHeapCacheD3D12.h b/src/dawn_native/d3d12/SamplerHeapCacheD3D12.h
index 2f41086..2e5a2d4 100644
--- a/src/dawn_native/d3d12/SamplerHeapCacheD3D12.h
+++ b/src/dawn_native/d3d12/SamplerHeapCacheD3D12.h
@@ -105,4 +105,4 @@
 
 }}  // namespace dawn_native::d3d12
 
-#endif  // DAWNNATIVE_D3D12_SAMPLERHEAPCACHE_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_D3D12_SAMPLERHEAPCACHE_H_
diff --git a/src/dawn_native/d3d12/ShaderVisibleDescriptorAllocatorD3D12.cpp b/src/dawn_native/d3d12/ShaderVisibleDescriptorAllocatorD3D12.cpp
index 9039d8a..ca30889 100644
--- a/src/dawn_native/d3d12/ShaderVisibleDescriptorAllocatorD3D12.cpp
+++ b/src/dawn_native/d3d12/ShaderVisibleDescriptorAllocatorD3D12.cpp
@@ -209,4 +209,4 @@
     ID3D12DescriptorHeap* ShaderVisibleDescriptorHeap::GetD3D12DescriptorHeap() const {
         return mD3d12DescriptorHeap.Get();
     }
-}}  // namespace dawn_native::d3d12
\ No newline at end of file
+}}  // namespace dawn_native::d3d12
diff --git a/src/dawn_native/d3d12/ShaderVisibleDescriptorAllocatorD3D12.h b/src/dawn_native/d3d12/ShaderVisibleDescriptorAllocatorD3D12.h
index aec20a3..564eb95 100644
--- a/src/dawn_native/d3d12/ShaderVisibleDescriptorAllocatorD3D12.h
+++ b/src/dawn_native/d3d12/ShaderVisibleDescriptorAllocatorD3D12.h
@@ -94,4 +94,4 @@
     };
 }}  // namespace dawn_native::d3d12
 
-#endif  // DAWNNATIVE_D3D12_SHADERVISIBLEDESCRIPTORALLOCATOR_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_D3D12_SHADERVISIBLEDESCRIPTORALLOCATOR_H_
diff --git a/src/dawn_native/d3d12/StagingDescriptorAllocatorD3D12.cpp b/src/dawn_native/d3d12/StagingDescriptorAllocatorD3D12.cpp
index 84fd788..92a4741 100644
--- a/src/dawn_native/d3d12/StagingDescriptorAllocatorD3D12.cpp
+++ b/src/dawn_native/d3d12/StagingDescriptorAllocatorD3D12.cpp
@@ -149,4 +149,4 @@
         mAllocationsToDelete.ClearUpTo(completedSerial);
     }
 
-}}  // namespace dawn_native::d3d12
\ No newline at end of file
+}}  // namespace dawn_native::d3d12
diff --git a/src/dawn_native/d3d12/StagingDescriptorAllocatorD3D12.h b/src/dawn_native/d3d12/StagingDescriptorAllocatorD3D12.h
index eebbe2a..519920b 100644
--- a/src/dawn_native/d3d12/StagingDescriptorAllocatorD3D12.h
+++ b/src/dawn_native/d3d12/StagingDescriptorAllocatorD3D12.h
@@ -82,4 +82,4 @@
 
 }}  // namespace dawn_native::d3d12
 
-#endif  // DAWNNATIVE_D3D12_STAGINGDESCRIPTORALLOCATOR_H_
\ No newline at end of file
+#endif  // DAWNNATIVE_D3D12_STAGINGDESCRIPTORALLOCATOR_H_
diff --git a/src/dawn_native/metal/DeviceMTL.mm b/src/dawn_native/metal/DeviceMTL.mm
index 07f11cd..31ae40b 100644
--- a/src/dawn_native/metal/DeviceMTL.mm
+++ b/src/dawn_native/metal/DeviceMTL.mm
@@ -49,9 +49,7 @@
     Device::Device(AdapterBase* adapter,
                    id<MTLDevice> mtlDevice,
                    const DeviceDescriptor* descriptor)
-        : DeviceBase(adapter, descriptor),
-          mMtlDevice([mtlDevice retain]),
-          mCompletedSerial(0) {
+        : DeviceBase(adapter, descriptor), mMtlDevice([mtlDevice retain]), mCompletedSerial(0) {
         [mMtlDevice retain];
     }
 
diff --git a/src/dawn_platform/BUILD.gn b/src/dawn_platform/BUILD.gn
index a152b9e..c2b1093 100644
--- a/src/dawn_platform/BUILD.gn
+++ b/src/dawn_platform/BUILD.gn
@@ -24,7 +24,5 @@
     "tracing/TraceEvent.h",
   ]
 
-  deps = [
-    "${dawn_root}/src/common",
-  ]
+  deps = [ "${dawn_root}/src/common" ]
 }
diff --git a/src/dawn_wire/client/Client.cpp b/src/dawn_wire/client/Client.cpp
index ab96743..6b5b7be 100644
--- a/src/dawn_wire/client/Client.cpp
+++ b/src/dawn_wire/client/Client.cpp
@@ -20,9 +20,7 @@
 namespace dawn_wire { namespace client {
 
     Client::Client(CommandSerializer* serializer, MemoryTransferService* memoryTransferService)
-        : ClientBase(),
-          mSerializer(serializer),
-          mMemoryTransferService(memoryTransferService) {
+        : ClientBase(), mSerializer(serializer), mMemoryTransferService(memoryTransferService) {
         if (mMemoryTransferService == nullptr) {
             // If a MemoryTransferService is not provided, fall back to inline memory.
             mOwnedMemoryTransferService = CreateInlineMemoryTransferService();
diff --git a/src/include/dawn_native/VulkanBackend.h b/src/include/dawn_native/VulkanBackend.h
index 0965871..4e5aee9 100644
--- a/src/include/dawn_native/VulkanBackend.h
+++ b/src/include/dawn_native/VulkanBackend.h
@@ -23,6 +23,7 @@
 #include <vector>
 
 namespace dawn_native { namespace vulkan {
+
     DAWN_NATIVE_EXPORT VkInstance GetInstance(WGPUDevice device);
 
     DAWN_NATIVE_EXPORT PFN_vkVoidFunction GetInstanceProcAddr(WGPUDevice device, const char* pName);
@@ -75,6 +76,7 @@
         DAWN_NATIVE_EXPORT WGPUTexture WrapVulkanImage(WGPUDevice cDevice,
                                                        const ExternalImageDescriptor* descriptor);
 #endif  // __linux__
+
 }}  // namespace dawn_native::vulkan
 
 #endif  // DAWNNATIVE_VULKANBACKEND_H_
diff --git a/src/include/dawn_wire/WireClient.h b/src/include/dawn_wire/WireClient.h
index 5b5f33c..815b66b 100644
--- a/src/include/dawn_wire/WireClient.h
+++ b/src/include/dawn_wire/WireClient.h
@@ -26,7 +26,7 @@
     namespace client {
         class Client;
         class MemoryTransferService;
-    }
+    }  // namespace client
 
     struct ReservedTexture {
         WGPUTexture texture;
diff --git a/src/include/dawn_wire/WireServer.h b/src/include/dawn_wire/WireServer.h
index b595721..b3d1e62 100644
--- a/src/include/dawn_wire/WireServer.h
+++ b/src/include/dawn_wire/WireServer.h
@@ -26,7 +26,7 @@
     namespace server {
         class Server;
         class MemoryTransferService;
-    }
+    }  // namespace server
 
     struct DAWN_WIRE_EXPORT WireServerDescriptor {
         WGPUDevice device;
diff --git a/src/utils/BUILD.gn b/src/utils/BUILD.gn
index 9d5d69c..be827d6 100644
--- a/src/utils/BUILD.gn
+++ b/src/utils/BUILD.gn
@@ -25,9 +25,7 @@
 # use the real library from third_party/.
 if (dawn_supports_glfw_for_windowing) {
   group("dawn_glfw") {
-    public_deps = [
-      "${dawn_root}/third_party/gn/glfw",
-    ]
+    public_deps = [ "${dawn_root}/third_party/gn/glfw" ]
   }
 } else if (is_fuchsia) {
   # The mock implementation of GLFW on Fuchsia
@@ -52,9 +50,7 @@
       "Glfw3Fuchsia.cpp",
     ]
     public_configs = [ ":dawn_glfw_public_config" ]
-    deps = [
-      "${dawn_root}/src/common",
-    ]
+    deps = [ "${dawn_root}/src/common" ]
   }
 } else {
   # Just skip GLFW on other systems
@@ -118,9 +114,7 @@
     }
   }
 
-  public_deps = [
-    "${dawn_root}/src/dawn:dawncpp_headers",
-  ]
+  public_deps = [ "${dawn_root}/src/dawn:dawncpp_headers" ]
 }
 
 ###############################################################################
@@ -137,9 +131,7 @@
       "BackendBinding.h",
     ]
 
-    public_deps = [
-      "${dawn_root}/src/dawn:dawn_headers",
-    ]
+    public_deps = [ "${dawn_root}/src/dawn:dawn_headers" ]
 
     deps = [
       ":dawn_glfw",
diff --git a/src/utils/SystemUtils.h b/src/utils/SystemUtils.h
index 828eb58..1f42cc5 100644
--- a/src/utils/SystemUtils.h
+++ b/src/utils/SystemUtils.h
@@ -20,4 +20,4 @@
     void USleep(unsigned int usecs);
 }
 
-#endif  // UTILS_SYSTEMUTILS_H_
\ No newline at end of file
+#endif  // UTILS_SYSTEMUTILS_H_