Changeset 99167 in webkit for trunk/Source/JavaScriptCore/API/JSBase.cpp
- Timestamp:
- Nov 3, 2011, 5:02:05 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSBase.cpp
r94811 r99167 51 51 // evaluate sets "this" to the global object if it is NULL 52 52 JSGlobalObject* globalObject = exec->dynamicGlobalObject(); 53 SourceCode source = makeSource(script->ustring(), sourceURL->ustring(), startingLineNumber);53 SourceCode source = makeSource(script->ustring(), sourceURL->ustring(), TextPosition(OrdinalNumber::fromOneBasedInt(startingLineNumber), OrdinalNumber::first())); 54 54 55 55 JSValue evaluationException; … … 74 74 APIEntryShim entryShim(exec); 75 75 76 SourceCode source = makeSource(script->ustring(), sourceURL->ustring(), startingLineNumber);76 SourceCode source = makeSource(script->ustring(), sourceURL->ustring(), TextPosition(OrdinalNumber::fromOneBasedInt(startingLineNumber), OrdinalNumber::first())); 77 77 78 78 JSValue syntaxException;
Note:
See TracChangeset
for help on using the changeset viewer.