Web Inspector: UISourceCodes are leaking on reload sometimes.
https://bugs.webkit.org/show_bug.cgi?id=113310

Reviewed by Pavel Feldman.

* inspector/front-end/BreakpointManager.js:
(WebInspector.BreakpointManager.prototype._projectWillReset.get for):
(WebInspector.BreakpointManager.prototype._projectWillReset):
* inspector/front-end/ConsoleModel.js:
(WebInspector.ConsoleModel.prototype.clearMessages):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146898 268f45cc-cd09-0410-ab3c-d52691b4dbfc
HTTPHeaderMap::copyData() could call uncheckedAppend()
https://bugs.webkit.org/show_bug.cgi?id=113279

Reviewed by Alexey Proskuryakov.

HTTPHeaderMap::copyData() calls reserveInitialCapacity() on the Vector
but then appends items using append() function. Since we already know
the capacity is sufficient, it is more efficient to call uncheckedAppend()
instead to bypass capacity checks.

No new tests, no behavior change for layout tests.

* platform/network/HTTPHeaderMap.cpp:
(WebCore::HTTPHeaderMap::copyData):


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@146899 268f45cc-cd09-0410-ab3c-d52691b4dbfc