2018-11-30 22:52:05 +03:00
|
|
|
/* -*- Mode: C++; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 2 -*- */
|
2018-06-13 20:43:48 +03:00
|
|
|
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
|
2019-10-02 19:46:03 +03:00
|
|
|
#include "OutOfMemoryError.h"
|
2018-06-13 20:43:48 +03:00
|
|
|
#include "Device.h"
|
2020-11-16 22:57:04 +03:00
|
|
|
#include "mozilla/dom/WebGPUBinding.h"
|
2018-06-13 20:43:48 +03:00
|
|
|
|
|
|
|
namespace mozilla {
|
|
|
|
namespace webgpu {
|
|
|
|
|
2019-10-02 19:46:03 +03:00
|
|
|
GPU_IMPL_CYCLE_COLLECTION(OutOfMemoryError, mParent)
|
|
|
|
GPU_IMPL_JS_WRAP(OutOfMemoryError)
|
2018-06-13 20:43:48 +03:00
|
|
|
|
2019-10-02 19:46:03 +03:00
|
|
|
OutOfMemoryError::~OutOfMemoryError() = default;
|
2018-06-13 20:43:48 +03:00
|
|
|
|
|
|
|
} // namespace webgpu
|
|
|
|
} // namespace mozilla
|