Changeset 118960 in webkit for trunk/Source/JavaScriptCore/parser
- Timestamp:
- May 30, 2012, 1:18:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/parser/SourceProvider.h
r111358 r118960 62 62 const UString& url() { return m_url; } 63 63 TextPosition startPosition() const { return m_startPosition; } 64 intptr_t asID() { return reinterpret_cast<intptr_t>(this); } 64 intptr_t asID() 65 { 66 if (!this) 67 return 1; 68 return reinterpret_cast<intptr_t>(this); 69 } 65 70 66 71 bool isValid() const { return m_validated; }
Note:
See TracChangeset
for help on using the changeset viewer.