Changeset 173245 in webkit for trunk/Source/JavaScriptCore/API/JSBase.cpp
- Timestamp:
- Sep 3, 2014, 5:53:16 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/JavaScriptCore/API/JSBase.cpp
r167326 r173245 61 61 // evaluate sets "this" to the global object if it is NULL 62 62 JSGlobalObject* globalObject = exec->vmEntryGlobalObject(); 63 SourceCode source = makeSource(script ->string(), sourceURL->string(), TextPosition(OrdinalNumber::fromOneBasedInt(startingLineNumber), OrdinalNumber::first()));63 SourceCode source = makeSource(script ? script->string() : String(), sourceURL ? sourceURL->string() : String(), TextPosition(OrdinalNumber::fromOneBasedInt(startingLineNumber), OrdinalNumber::first())); 64 64 65 65 JSValue evaluationException;
Note:
See TracChangeset
for help on using the changeset viewer.