Gcc build fix after r122174.
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jul 2012 01:35:06 +0000 (01:35 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 10 Jul 2012 01:35:06 +0000 (01:35 +0000)
* storage/StorageAreaImpl.cpp:
(WebCore::StorageAreaImpl::decrementAccessCount):

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

Source/WebCore/ChangeLog
Source/WebCore/storage/StorageAreaImpl.cpp

index bde59c6..f86b098 100644 (file)
@@ -1,3 +1,10 @@
+2012-07-09  Ryosuke Niwa  <rniwa@webkit.org>
+
+        Gcc build fix after r122174.
+
+        * storage/StorageAreaImpl.cpp:
+        (WebCore::StorageAreaImpl::decrementAccessCount):
+
 2012-07-09  Alice Cheng  <alice_cheng@apple.com>
 
         Editing: Autocorrection in blockquotes causes text to break out of quote
index 0602da2..694a97a 100644 (file)
@@ -274,8 +274,8 @@ void StorageAreaImpl::incrementAccessCount()
 
 void StorageAreaImpl::decrementAccessCount()
 {
+    ASSERT(m_accessCount);
     --m_accessCount;
-    ASSERT(m_accessCount >= 0);
 
     if (!m_accessCount) {
         if (m_closeDatabaseTimer.isActive())