diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-13 15:05:36 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2019-02-14 10:33:47 +0000 |
commit | e684a3455bcc29a6e3e66a004e352dea4e1141e7 (patch) | |
tree | d55b4003bde34d7d05f558f02cfd82b2a66a7aac /chromium/third_party/dawn/src/dawn_native/ObjectBase.h | |
parent | 2b94bfe47ccb6c08047959d1c26e392919550e86 (diff) | |
download | qtwebengine-chromium-e684a3455bcc29a6e3e66a004e352dea4e1141e7.tar.gz |
BASELINE: Update Chromium to 72.0.3626.110 and Ninja to 1.9.0
Change-Id: Ic57220b00ecc929a893c91f5cc552f5d3e99e922
Reviewed-by: Michael BrĂ¼ning <michael.bruning@qt.io>
Diffstat (limited to 'chromium/third_party/dawn/src/dawn_native/ObjectBase.h')
-rw-r--r-- | chromium/third_party/dawn/src/dawn_native/ObjectBase.h | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/chromium/third_party/dawn/src/dawn_native/ObjectBase.h b/chromium/third_party/dawn/src/dawn_native/ObjectBase.h new file mode 100644 index 00000000000..019938a2c9e --- /dev/null +++ b/chromium/third_party/dawn/src/dawn_native/ObjectBase.h @@ -0,0 +1,37 @@ +// Copyright 2018 The Dawn Authors +// +// Licensed under the Apache License, Version 2.0 (the "License"); +// you may not use this file except in compliance with the License. +// You may obtain a copy of the License at +// +// http://www.apache.org/licenses/LICENSE-2.0 +// +// Unless required by applicable law or agreed to in writing, software +// distributed under the License is distributed on an "AS IS" BASIS, +// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +// See the License for the specific language governing permissions and +// limitations under the License. + +#ifndef DAWNNATIVE_OBJECTBASE_H_ +#define DAWNNATIVE_OBJECTBASE_H_ + +#include "dawn_native/RefCounted.h" + +namespace dawn_native { + + class DeviceBase; + + class ObjectBase : public RefCounted { + public: + ObjectBase(DeviceBase* device); + virtual ~ObjectBase(); + + DeviceBase* GetDevice() const; + + private: + DeviceBase* mDevice; + }; + +} // namespace dawn_native + +#endif // DAWNNATIVE_OBJECTBASE_H_ |