Changeset 152137 in webkit


Ignore:
Timestamp:
Jun 27, 2013 4:31:13 PM (11 years ago)
Author:
andersca@apple.com
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):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r152135 r152137  
     12013-06-27  Anders Carlsson  <andersca@apple.com>
     2
     3        Remove call to deprecatedCharactersWithNullTermination() in WebGL code
     4        https://bugs.webkit.org/show_bug.cgi?id=118154
     5
     6        Reviewed by Dean Jackson.
     7
     8        Remove an unneeded call to deprecatedCharactersWithNullTermination(). Ultimately,
     9        the string we used to call it on gets converted to an UTF-8 CString that has a null character anyway.
     10
     11        * html/canvas/WebGLProgram.cpp:
     12        (WebCore::WebGLProgram::cacheActiveAttribLocations):
     13
    1142013-06-27  Roger Fong  <roger_fong@apple.com>
    215
  • trunk/Source/WebCore/html/canvas/WebGLProgram.cpp

    r152069 r152137  
    171171        ActiveInfo info;
    172172        context3d->getActiveAttrib(object(), i, info);
    173         m_activeAttribLocations[i] = context3d->getAttribLocation(object(), info.name.deprecatedCharactersWithNullTermination());
     173        m_activeAttribLocations[i] = context3d->getAttribLocation(object(), info.name);
    174174    }
    175175}
Note: See TracChangeset for help on using the changeset viewer.