Title: [258389] trunk/Source/WebKit
- Revision
- 258389
- Author
- rn...@webkit.org
- Date
- 2020-03-13 02:46:25 -0700 (Fri, 13 Mar 2020)
Log Message
Release build fix after r258384.
* WebProcess/Plugins/PDF/PDFPlugin.mm:
(WebKit::PDFPlugin::threadEntry):
(WebKit::PDFPlugin::ByteRangeRequest::maybeComplete):
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (258388 => 258389)
--- trunk/Source/WebKit/ChangeLog 2020-03-13 08:33:54 UTC (rev 258388)
+++ trunk/Source/WebKit/ChangeLog 2020-03-13 09:46:25 UTC (rev 258389)
@@ -1,3 +1,11 @@
+2020-03-13 Ryosuke Niwa <rn...@webkit.org>
+
+ Release build fix after r258384.
+
+ * WebProcess/Plugins/PDF/PDFPlugin.mm:
+ (WebKit::PDFPlugin::threadEntry):
+ (WebKit::PDFPlugin::ByteRangeRequest::maybeComplete):
+
2020-03-12 Brady Eidson <beid...@apple.com>
Add a very verbose logging mode for incremental PDF loading
Modified: trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm (258388 => 258389)
--- trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm 2020-03-13 08:33:54 UTC (rev 258388)
+++ trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.mm 2020-03-13 09:46:25 UTC (rev 258389)
@@ -805,7 +805,9 @@
firstPageSemaphore.wait();
+#if !LOG_DISABLED
pdfLog("Fininished preloading first page");
+#endif
// The main thread dispatch below removes the last reference to the PDF thread.
// It must be the last code executed in this function.
@@ -948,7 +950,9 @@
}
if (plugin.m_completedRanges.contains({ m_position, m_position + m_count - 1 })) {
+#if !LOG_DISABLED
plugin.pdfLog(makeString("Completing request %llu with a previously completed range", identifier()));
+#endif
completeWithBytes(CFDataGetBytePtr(plugin.m_data.get()) + m_position, m_count, plugin);
return true;
}
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes