summaryrefslogtreecommitdiffstats
path: root/dom/webgpu/Texture.h
diff options
context:
space:
mode:
Diffstat (limited to 'dom/webgpu/Texture.h')
-rw-r--r--dom/webgpu/Texture.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dom/webgpu/Texture.h b/dom/webgpu/Texture.h
index e31878f825..12677abe80 100644
--- a/dom/webgpu/Texture.h
+++ b/dom/webgpu/Texture.h
@@ -35,7 +35,7 @@ class Texture final : public ObjectBase, public ChildOf<Device> {
Texture(Device* const aParent, RawId aId,
const dom::GPUTextureDescriptor& aDesc);
- Device* GetParentDevice() { return mParent; }
+ Device* GetDevice() { return mParent; }
const RawId mId;
const dom::GPUTextureFormat mFormat;
const Maybe<uint8_t> mBytesPerBlock;