Title: [152137] trunk/Source/WebCore
- Revision
- 152137
- Author
- [email protected]
- Date
- 2013-06-27 16:31:13 -0700 (Thu, 27 Jun 2013)
Log Message
Remove call to deprecatedCharactersWithNullTermination() in WebGL code
https://bugs.webkit.org/show_bug.cgi?id=118154
Reviewed by Dean Jackson.
Remove an unneeded call to deprecatedCharactersWithNullTermination(). Ultimately,
the string we used to call it on gets converted to an UTF-8 CString that has a null character anyway.
* html/canvas/WebGLProgram.cpp:
(WebCore::WebGLProgram::cacheActiveAttribLocations):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (152136 => 152137)
--- trunk/Source/WebCore/ChangeLog 2013-06-27 23:04:34 UTC (rev 152136)
+++ trunk/Source/WebCore/ChangeLog 2013-06-27 23:31:13 UTC (rev 152137)
@@ -1,3 +1,16 @@
+2013-06-27 Anders Carlsson <[email protected]>
+
+ Remove call to deprecatedCharactersWithNullTermination() in WebGL code
+ https://bugs.webkit.org/show_bug.cgi?id=118154
+
+ Reviewed by Dean Jackson.
+
+ Remove an unneeded call to deprecatedCharactersWithNullTermination(). Ultimately,
+ the string we used to call it on gets converted to an UTF-8 CString that has a null character anyway.
+
+ * html/canvas/WebGLProgram.cpp:
+ (WebCore::WebGLProgram::cacheActiveAttribLocations):
+
2013-06-27 Roger Fong <[email protected]>
Unreviewed. Temporarily add some stderr output to Media Engine load methods to determine which engine buildbots are using for layout tests.
Modified: trunk/Source/WebCore/html/canvas/WebGLProgram.cpp (152136 => 152137)
--- trunk/Source/WebCore/html/canvas/WebGLProgram.cpp 2013-06-27 23:04:34 UTC (rev 152136)
+++ trunk/Source/WebCore/html/canvas/WebGLProgram.cpp 2013-06-27 23:31:13 UTC (rev 152137)
@@ -170,7 +170,7 @@
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);
}
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes