| Index: third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
|
| diff --git a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
|
| index 0401fe7f747e97c2c386a25d5d09a0fd216714b4..bced978dd43864c3a5dab992fd560fd15f494bb0 100644
|
| --- a/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
|
| +++ b/third_party/WebKit/Source/modules/webgl/WebGLFramebuffer.cpp
|
| @@ -422,9 +422,11 @@ GLenum WebGLFramebuffer::getDrawBuffer(GLenum drawBuffer)
|
| return GL_NONE;
|
| }
|
|
|
| -ScopedPersistent<v8::Array>* WebGLFramebuffer::getPersistentCache()
|
| +void WebGLFramebuffer::visitChildDOMWrappers(v8::Isolate* isolate, const v8::Persistent<v8::Object>& wrapper)
|
| {
|
| - return &m_attachmentWrappers;
|
| + for (const auto& attachment : m_attachments) {
|
| + DOMWrapperWorld::setWrapperReferencesInAllWorlds(wrapper, attachment.value->object(), isolate);
|
| + }
|
| }
|
|
|
| DEFINE_TRACE(WebGLFramebuffer)
|
|
|