Remove call to deprecatedCharactersWithNullTermination() in WebGL code
[WebKit-https.git] / Source / WebCore / html / canvas / WebGLProgram.cpp
index 394d50b..40d3594 100644 (file)
@@ -170,7 +170,7 @@ void WebGLProgram::cacheActiveAttribLocations(GraphicsContext3D* context3d)
     for (int i = 0; i < numAttribs; ++i) {
         ActiveInfo info;
         context3d->getActiveAttrib(object(), i, info);
-        m_activeAttribLocations[i] = context3d->getAttribLocation(object(), info.name.deprecatedCharactersWithNullTermination());
+        m_activeAttribLocations[i] = context3d->getAttribLocation(object(), info.name);
     }
 }