Changeset 64302 in webkit for trunk/JavaScriptCore/wtf/qt/StringQt.cpp
- Timestamp:
- Jul 29, 2010, 12:52:22 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/wtf/qt/StringQt.cpp
r58006 r64302 26 26 #include "config.h" 27 27 28 #include <wtf/StdLibExtras.h> 28 29 #include <wtf/text/WTFString.h> 29 30 … … 37 38 if (qstr.isNull()) 38 39 return; 39 m_impl = StringImpl::create(reinterpret_cast <const UChar*>(qstr.constData()), qstr.length());40 m_impl = StringImpl::create(reinterpret_cast_ptr<const UChar*>(qstr.constData()), qstr.length()); 40 41 } 41 42 … … 44 45 if (!ref.string()) 45 46 return; 46 m_impl = StringImpl::create(reinterpret_cast <const UChar*>(ref.unicode()), ref.length());47 m_impl = StringImpl::create(reinterpret_cast_ptr<const UChar*>(ref.unicode()), ref.length()); 47 48 } 48 49
Note:
See TracChangeset
for help on using the changeset viewer.