Resource Load Statistics: Check if the store exists before clearing it
authorwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Mar 2017 16:54:41 +0000 (16:54 +0000)
committerwilander@apple.com <wilander@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 31 Mar 2017 16:54:41 +0000 (16:54 +0000)
commitec9d526979df71840365cff68a5d73d200780535
tree62a335503987eed6b370d082ddc21694d8238582
parent64113749cf8b817fc97bca377b6e6317bf48b3db
Resource Load Statistics: Check if the store exists before clearing it
https://bugs.webkit.org/show_bug.cgi?id=170324
<rdar://problem/31258505>

Reviewed by Brent Fulgham.

No new tests. Added a null check.

* loader/ResourceLoadObserver.cpp:
(WebCore::ResourceLoadObserver::clearInMemoryAndPersistentStore):
    Added a null check.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@214669 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/loader/ResourceLoadObserver.cpp