diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2019-10-01 15:29:50 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-01 15:29:50 -0400 |
commit | 33de38aa85a2c84228d9a3b15ef012b31a1867ec (patch) | |
tree | ef60f0b8c5cd000d7b2eb9342fc208e2c3994552 /components/script/dom/webidls/WebGL2RenderingContext.webidl | |
parent | d3475e5c3f17b89d7c9d3f36a065e56169e39060 (diff) | |
parent | d6c58b8226f1f87c61ff36476c8690639214be2b (diff) | |
download | servo-33de38aa85a2c84228d9a3b15ef012b31a1867ec.tar.gz servo-33de38aa85a2c84228d9a3b15ef012b31a1867ec.zip |
Auto merge of #24332 - saschanaz:mixin, r=jdm
Migrate to IDL mixin syntax
<!-- Please describe your changes on the following line: -->
---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `___` with appropriate data: -->
- [ ] `./mach build -d` does not report any errors
- [ ] `./mach test-tidy` does not report any errors
- [x] These changes fix #22539
<!-- Either: -->
- [x] There are tests for these changes
<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->
<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->
<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24332)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/webidls/WebGL2RenderingContext.webidl')
-rw-r--r-- | components/script/dom/webidls/WebGL2RenderingContext.webidl | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/components/script/dom/webidls/WebGL2RenderingContext.webidl b/components/script/dom/webidls/WebGL2RenderingContext.webidl index 8f071630462..13e78c72ac1 100644 --- a/components/script/dom/webidls/WebGL2RenderingContext.webidl +++ b/components/script/dom/webidls/WebGL2RenderingContext.webidl @@ -26,8 +26,7 @@ typedef unsigned long long GLuint64; // typedef ([AllowShared] Uint32Array or sequence<GLuint>) Uint32List; -[NoInterfaceObject] -interface WebGL2RenderingContextBase +interface mixin WebGL2RenderingContextBase { const GLenum READ_BUFFER = 0x0C02; const GLenum UNPACK_ROW_LENGTH = 0x0CF2; @@ -584,5 +583,5 @@ interface WebGL2RenderingContextBase interface WebGL2RenderingContext { }; -WebGL2RenderingContext implements WebGLRenderingContextBase; -WebGL2RenderingContext implements WebGL2RenderingContextBase; +WebGL2RenderingContext includes WebGLRenderingContextBase; +WebGL2RenderingContext includes WebGL2RenderingContextBase; |