Title: [217975] trunk/Source/WebKit2
- Revision
- 217975
- Author
- [email protected]
- Date
- 2017-06-09 03:39:55 -0700 (Fri, 09 Jun 2017)
Log Message
Use WTF::getCurrentProcessID() instead of getpid()
https://bugs.webkit.org/show_bug.cgi?id=173130
Patch by Daewoong Jang <[email protected]> on 2017-06-09
Reviewed by Tim Horton.
* UIProcess/API/APIProcessPoolConfiguration.h:
Modified Paths
Diff
Modified: trunk/Source/WebKit2/ChangeLog (217974 => 217975)
--- trunk/Source/WebKit2/ChangeLog 2017-06-09 09:59:37 UTC (rev 217974)
+++ trunk/Source/WebKit2/ChangeLog 2017-06-09 10:39:55 UTC (rev 217975)
@@ -1,3 +1,12 @@
+2017-06-09 Daewoong Jang <[email protected]>
+
+ Use WTF::getCurrentProcessID() instead of getpid()
+ https://bugs.webkit.org/show_bug.cgi?id=173130
+
+ Reviewed by Tim Horton.
+
+ * UIProcess/API/APIProcessPoolConfiguration.h:
+
2017-06-09 Claudio Saavedra <[email protected]>
struct does not accept initializer-form if member has initializers in GCC 4.9
Modified: trunk/Source/WebKit2/UIProcess/API/APIProcessPoolConfiguration.h (217974 => 217975)
--- trunk/Source/WebKit2/UIProcess/API/APIProcessPoolConfiguration.h 2017-06-09 09:59:37 UTC (rev 217974)
+++ trunk/Source/WebKit2/UIProcess/API/APIProcessPoolConfiguration.h 2017-06-09 10:39:55 UTC (rev 217975)
@@ -29,6 +29,7 @@
#include "APIObject.h"
#include "CacheModel.h"
#include "WebsiteDataStore.h"
+#include <wtf/ProcessID.h>
#include <wtf/Ref.h>
#include <wtf/Vector.h>
#include <wtf/text/CString.h>
@@ -169,7 +170,7 @@
bool m_alwaysRunsAtBackgroundPriority { false };
bool m_shouldTakeUIBackgroundAssertion { true };
bool m_shouldCaptureAudioInUIProcess { false };
- pid_t m_presentingApplicationPID { getpid() };
+ pid_t m_presentingApplicationPID { getCurrentProcessID() };
#if PLATFORM(IOS)
WTF::String m_ctDataConnectionServiceType;
#endif
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes