commit | 5db57adb61efe2b18630557741bd5d4c7ddee680 | [log] [tgz] |
---|---|---|
author | simon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Tue Oct 25 00:22:08 2016 +0000 |
committer | simon.fraser@apple.com <simon.fraser@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc> | Tue Oct 25 00:22:08 2016 +0000 |
tree | c0dd982d930f826a56421544d8a752c03adc1f2e | |
parent | 484a09a5843994c462f1e4524a9cbccb7d46f548 [diff] |
Fix the lifetime of strings used in LOG_WITH_STREAM https://bugs.webkit.org/show_bug.cgi?id=163923 Reviewed by Brent Fulgham. Make sure the const char* passed to WTFLog() outlives the call. Removed logFunctionResult which wasn't used anywhere else, and encourages this bad pattern. * platform/LogMacros.h: * platform/Logging.cpp: (WebCore::logFunctionResult): Deleted. git-svn-id: http://svn.webkit.org/repository/webkit/trunk@207792 268f45cc-cd09-0410-ab3c-d52691b4dbfc