Index: Source/core/html/canvas/WebGLDebugShaders.cpp |
diff --git a/Source/core/html/canvas/WebGLDebugShaders.cpp b/Source/core/html/canvas/WebGLDebugShaders.cpp |
index ea33aa231f4e078d9ace9e2e9cd09697297927f1..f8a41f85e28da3b72e14687e93e446eaad6b4a88 100644 |
--- a/Source/core/html/canvas/WebGLDebugShaders.cpp |
+++ b/Source/core/html/canvas/WebGLDebugShaders.cpp |
@@ -1,4 +1,4 @@ |
-/* |
+ /* |
Ken Russell (switch to Gerrit)
2013/06/19 03:51:24
Accidental whitespace change.
greggman
2013/06/21 19:54:21
Done.
|
* Copyright (C) 2011 Google Inc. All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
@@ -60,7 +60,7 @@ String WebGLDebugShaders::getTranslatedShaderSource(WebGLShader* shader, Excepti |
UNUSED_PARAM(ec); |
if (isLost()) |
return String(); |
- if (!m_context->validateWebGLObject("getTranslatedShaderSource", shader)) |
+ if (!m_context->validateWebGLSharedObject("getTranslatedShaderSource", shader, WebGLSharedObject::ReadOnly)) |
return ""; |
return m_context->graphicsContext3D()->getExtensions()->getTranslatedShaderSourceANGLE(shader->object()); |
} |