Title: [291425] trunk/Source/WebKit
- Revision
- 291425
- Author
- [email protected]
- Date
- 2022-03-17 11:55:43 -0700 (Thu, 17 Mar 2022)
Log Message
Fix the build when LOG_DISABLED is 0 in release builds
https://bugs.webkit.org/show_bug.cgi?id=237999
Reviewed by Tim Horton.
* WebProcess/Plugins/PDF/PDFPlugin.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit/ChangeLog (291424 => 291425)
--- trunk/Source/WebKit/ChangeLog 2022-03-17 18:48:44 UTC (rev 291424)
+++ trunk/Source/WebKit/ChangeLog 2022-03-17 18:55:43 UTC (rev 291425)
@@ -1,3 +1,12 @@
+2022-03-17 Simon Fraser <[email protected]>
+
+ Fix the build when LOG_DISABLED is 0 in release builds
+ https://bugs.webkit.org/show_bug.cgi?id=237999
+
+ Reviewed by Tim Horton.
+
+ * WebProcess/Plugins/PDF/PDFPlugin.h:
+
2022-03-17 J Pascoe <[email protected]>
[WebAuthn] Support makeCredential for virtual HID authenticators
Modified: trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.h (291424 => 291425)
--- trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.h 2022-03-17 18:48:44 UTC (rev 291424)
+++ trunk/Source/WebKit/WebProcess/Plugins/PDF/PDFPlugin.h 2022-03-17 18:55:43 UTC (rev 291425)
@@ -149,7 +149,7 @@
size_t getResourceBytesAtPositionMainThread(void* buffer, off_t position, size_t count);
void receivedNonLinearizedPDFSentinel();
bool incrementalPDFLoadingEnabled() const { return m_incrementalPDFLoadingEnabled; }
-#ifndef NDEBUG
+#if !LOG_DISABLED
void pdfLog(const String& event);
size_t incrementThreadsWaitingOnCallback() { return ++m_threadsWaitingOnCallback; }
size_t decrementThreadsWaitingOnCallback() { return --m_threadsWaitingOnCallback; }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes