Title: [254858] trunk/Source/WebCore
- Revision
- 254858
- Author
- [email protected]
- Date
- 2020-01-21 09:55:47 -0800 (Tue, 21 Jan 2020)
Log Message
Unreviewed, add comment to make it clearer that the code restored in r254857 is not dead
* page/DOMWindow.cpp:
(WebCore::DOMWindow::prewarmLocalStorageIfNecessary):
Modified Paths
Diff
Modified: trunk/Source/WebCore/ChangeLog (254857 => 254858)
--- trunk/Source/WebCore/ChangeLog 2020-01-21 17:52:52 UTC (rev 254857)
+++ trunk/Source/WebCore/ChangeLog 2020-01-21 17:55:47 UTC (rev 254858)
@@ -1,5 +1,12 @@
2020-01-21 Chris Dumez <[email protected]>
+ Unreviewed, add comment to make it clearer that the code restored in r254857 is not dead
+
+ * page/DOMWindow.cpp:
+ (WebCore::DOMWindow::prewarmLocalStorageIfNecessary):
+
+2020-01-21 Chris Dumez <[email protected]>
+
Unreviewed, rolling out r254753.
It turns out this is not dead code
Modified: trunk/Source/WebCore/page/DOMWindow.cpp (254857 => 254858)
--- trunk/Source/WebCore/page/DOMWindow.cpp 2020-01-21 17:52:52 UTC (rev 254857)
+++ trunk/Source/WebCore/page/DOMWindow.cpp 2020-01-21 17:55:47 UTC (rev 254858)
@@ -450,6 +450,7 @@
if (!page->mainFrame().mayPrewarmLocalStorage())
return;
+ // This eagerly constructs the StorageArea, which will load items from disk.
auto localStorageResult = this->localStorage();
if (localStorageResult.hasException())
return;
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes