commit | ccb5dd2de9f40cddf1dbc0034f1f07ced8c00f8f | [log] [tgz] |
---|---|---|
author | timothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Fri Jan 31 21:11:35 2014 +0000 |
committer | timothy@apple.com <timothy@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Fri Jan 31 21:11:35 2014 +0000 |
tree | ec4f633fdbe3b1f5fe26f82cdacf785a6cf319d5 | |
parent | 8a00da9c9e09330e18ab85b3cdcf7763af5d3462 [diff] |
Properly handle cases where a profile couldn't be recorded and null is returned. <rdar://problem/15957993> Crash with Inspector open at WebCore::ScriptProfile::buildInspectorObject Reviewed by Joseph Pecoraro. * inspector/InspectorTimelineAgent.cpp: (WebCore::InspectorTimelineAgent::didCallFunction): Null check profile. (WebCore::InspectorTimelineAgent::didEvaluateScript): Ditto. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@163191 268f45cc-cd09-0410-ab3c-d52691b4dbfc