Make use of more smart pointers.
Pull request: https://github.com/WebKit/WebKit/pull/17459
Already fixed in https://github.com/WebKit/WebKit/commit/dc328646ce2fb251e968f41ac2c54f5dac601358 *** This bug has been marked as a duplicate of bug 260952 ***