Title: [149783] trunk/Source/WebKit2
Revision
149783
Author
[email protected]
Date
2013-05-08 17:49:10 -0700 (Wed, 08 May 2013)

Log Message

Remove bogus StorageAreaMap assertions
https://bugs.webkit.org/show_bug.cgi?id=115838

Reviewed by Sam Weinig.

It is possible for didGetValues, and didClear to be called even if m_hasPendingClear is false so remove the assertions.

* WebProcess/Storage/StorageAreaMap.cpp:
(WebKit::StorageAreaMap::didGetValues):
(WebKit::StorageAreaMap::didClear):

Modified Paths

Diff

Modified: trunk/Source/WebKit2/ChangeLog (149782 => 149783)


--- trunk/Source/WebKit2/ChangeLog	2013-05-09 00:24:06 UTC (rev 149782)
+++ trunk/Source/WebKit2/ChangeLog	2013-05-09 00:49:10 UTC (rev 149783)
@@ -1,5 +1,18 @@
 2013-05-08  Anders Carlsson  <[email protected]>
 
+        Remove bogus StorageAreaMap assertions
+        https://bugs.webkit.org/show_bug.cgi?id=115838
+
+        Reviewed by Sam Weinig.
+
+        It is possible for didGetValues, and didClear to be called even if m_hasPendingClear is false so remove the assertions.
+
+        * WebProcess/Storage/StorageAreaMap.cpp:
+        (WebKit::StorageAreaMap::didGetValues):
+        (WebKit::StorageAreaMap::didClear):
+
+2013-05-08  Anders Carlsson  <[email protected]>
+
         Handle incoming clear operations
         https://bugs.webkit.org/show_bug.cgi?id=115829
 

Modified: trunk/Source/WebKit2/WebProcess/Storage/StorageAreaMap.cpp (149782 => 149783)


--- trunk/Source/WebKit2/WebProcess/Storage/StorageAreaMap.cpp	2013-05-09 00:24:06 UTC (rev 149782)
+++ trunk/Source/WebKit2/WebProcess/Storage/StorageAreaMap.cpp	2013-05-09 00:49:10 UTC (rev 149783)
@@ -178,7 +178,6 @@
 
 void StorageAreaMap::didGetValues()
 {
-    ASSERT(m_hasPendingClear);
     m_hasPendingClear = false;
 }
 
@@ -203,7 +202,6 @@
 
 void StorageAreaMap::didClear()
 {
-    ASSERT(m_hasPendingClear);
     m_hasPendingClear = false;
 }
 
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to