Possible ASSERT(!storageTracker) in Lazily Initialized StorageTracker
authorjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Sep 2011 04:41:42 +0000 (04:41 +0000)
committerjoepeck@webkit.org <joepeck@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 13 Sep 2011 04:41:42 +0000 (04:41 +0000)
commitbdea8f61413dfcc107c1a9c1d165343956e33aa9
tree412052d2e80a5e55c2c4336f8bd03ca4545ddc2b
parentc43b59fdff35b6574616d7c681dd3f01c832f2a2
Possible ASSERT(!storageTracker) in Lazily Initialized StorageTracker
https://bugs.webkit.org/show_bug.cgi?id=67957

Reviewed by Darin Adler.

The storageTracker singleton may already have been created
through StorageTracker::tracker before initializeTracker
gets called. Update the ASSERT in this case to check that
there is no client for the tracker.

No test, this depends on how the port initializes the tracker.

* storage/StorageTracker.cpp:
(WebCore::StorageTracker::initializeTracker):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@95013 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/storage/StorageTracker.cpp