b=587304; fix some string usage in WebGL shader validation; r=jeff

This commit is contained in:
Vladimir Vukicevic 2010-08-14 12:59:29 -07:00
Родитель f6b87f6c8f
Коммит d746975e96
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -2860,7 +2860,7 @@ WebGLContext::CompileShader(nsIWebGLShader *sobj)
compiler = ShConstructCompiler(lang, EShSpecWebGL, &resources);
nsDependentCString src(shader->Source());
nsPromiseFlatCString src(shader->Source());
const char *s = src.get();
if (!ShCompile(compiler, &s, 1, EShOptSimple, debugFlags)) {