OLD | NEW |
---|---|
1 /* | 1 /* |
2 * Copyright (C) 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2009 Apple Inc. All rights reserved. |
3 * | 3 * |
4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
6 * are met: | 6 * are met: |
7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
(...skipping 527 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
538 DOMWrapperWorld::setWrapperReferencesInAllWorlds( | 538 DOMWrapperWorld::setWrapperReferencesInAllWorlds( |
539 wrapper, attachment.value->object(), isolate); | 539 wrapper, attachment.value->object(), isolate); |
540 } | 540 } |
541 } | 541 } |
542 | 542 |
543 DEFINE_TRACE(WebGLFramebuffer) { | 543 DEFINE_TRACE(WebGLFramebuffer) { |
544 visitor->trace(m_attachments); | 544 visitor->trace(m_attachments); |
545 WebGLContextObject::trace(visitor); | 545 WebGLContextObject::trace(visitor); |
546 } | 546 } |
547 | 547 |
548 DEFINE_TRACE_WRAPPERS(WebGLFramebuffer) { | |
549 for (const auto& attachment : m_attachments) { | |
550 visitor->traceWrappers(attachment.value->object()); | |
Michael Lippautz
2016/10/06 17:54:54
I mirrored the object grouping behavior here by di
Ken Russell (switch to Gerrit)
2016/10/06 19:05:14
There's no JavaScript wrapper for it, so that's no
Michael Lippautz
2016/10/06 19:58:13
Yep, it's not necessary.
I guess my question is
Ken Russell (switch to Gerrit)
2016/10/07 03:00:55
Let's just mirror what object grouping did -- i.e.
haraken
2016/10/07 04:48:49
We've already added a bunch of traceWrappers to no
Ken Russell (switch to Gerrit)
2016/10/07 04:58:52
OK. I don't have a strong opinion on this.
| |
551 } | |
552 WebGLContextObject::traceWrappers(visitor); | |
553 } | |
554 | |
548 } // namespace blink | 555 } // namespace blink |
OLD | NEW |