Title: [239748] trunk/Source/WebKit
- Revision
- 239748
- Author
- achristen...@apple.com
- Date
- 2019-01-08 14:23:12 -0800 (Tue, 08 Jan 2019)
Log Message
Fix more assertions after r239710
https://bugs.webkit.org/show_bug.cgi?id=193237
* NetworkProcess/cache/NetworkCacheStorage.h:
(WebKit::NetworkCache::Storage::store):
Make default parameter an empty lambda instead of a null CompletionHandler.
This way it can be called once instead of thinking it has already been called.
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (239747 => 239748)
--- trunk/Source/WebKit/ChangeLog 2019-01-08 22:02:16 UTC (rev 239747)
+++ trunk/Source/WebKit/ChangeLog 2019-01-08 22:23:12 UTC (rev 239748)
@@ -1,3 +1,13 @@
+2019-01-08 Alex Christensen <achristen...@webkit.org>
+
+ Fix more assertions after r239710
+ https://bugs.webkit.org/show_bug.cgi?id=193237
+
+ * NetworkProcess/cache/NetworkCacheStorage.h:
+ (WebKit::NetworkCache::Storage::store):
+ Make default parameter an empty lambda instead of a null CompletionHandler.
+ This way it can be called once instead of thinking it has already been called.
+
2019-01-08 Brent Fulgham <bfulg...@apple.com>
Move ResourceLoadStatistics files from UIProcess to NetworkProcess
Modified: trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.h (239747 => 239748)
--- trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.h 2019-01-08 22:02:16 UTC (rev 239747)
+++ trunk/Source/WebKit/NetworkProcess/cache/NetworkCacheStorage.h 2019-01-08 22:23:12 UTC (rev 239748)
@@ -82,7 +82,7 @@
void retrieve(const Key&, unsigned priority, RetrieveCompletionHandler&&);
using MappedBodyHandler = Function<void (const Data& mappedBody)>;
- void store(const Record&, MappedBodyHandler&&, CompletionHandler<void(int)>&& = { });
+ void store(const Record&, MappedBodyHandler&&, CompletionHandler<void(int)>&& = [] (int) { });
void remove(const Key&);
void remove(const Vector<Key>&, CompletionHandler<void()>&&);
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes