Changeset 130931 in webkit for trunk/Source/JavaScriptCore/API/OpaqueJSString.cpp
- Timestamp:
- Oct 10, 2012, 11:08:03 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/OpaqueJSString.cpp
r130761 r130931 40 40 } 41 41 42 String OpaqueJSString::string() const 43 { 44 if (!this) 45 return String(); 46 47 // Return a copy of the wrapped string, because the caller may make it an Identifier. 48 return m_string.isolatedCopy(); 49 } 50 42 51 Identifier OpaqueJSString::identifier(JSGlobalData* globalData) const 43 52 {
Note:
See TracChangeset
for help on using the changeset viewer.