| Index: Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp
|
| ===================================================================
|
| --- Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp (revision 95807)
|
| +++ Source/WebCore/bindings/js/JSWebGLRenderingContextCustom.cpp (working copy)
|
| @@ -212,7 +212,7 @@
|
| WebGLProgram* program = toWebGLProgram(exec->argument(0));
|
| if (exec->hadException())
|
| return jsNull();
|
| - Vector<WebGLShader*> shaders;
|
| + Vector<RefPtr<WebGLShader> > shaders;
|
| bool succeed = context->getAttachedShaders(program, shaders, ec);
|
| if (ec) {
|
| setDOMException(exec, ec);
|
| @@ -222,7 +222,7 @@
|
| return jsNull();
|
| MarkedArgumentBuffer list;
|
| for (size_t ii = 0; ii < shaders.size(); ++ii)
|
| - list.append(toJS(exec, globalObject(), shaders[ii]));
|
| + list.append(toJS(exec, globalObject(), shaders[ii].get()));
|
| return constructArray(exec, globalObject(), list);
|
| }
|
|
|
|
|