Title: [237440] trunk/Source/_javascript_Core
- Revision
- 237440
- Author
- [email protected]
- Date
- 2018-10-25 17:21:00 -0700 (Thu, 25 Oct 2018)
Log Message
Unreviewed build fix for Visual Studio 2017
* API/tests/testapi.c:
(testMarkingConstraintsAndHeapFinalizers):
(main):
Modified Paths
Diff
Modified: trunk/Source/_javascript_Core/API/tests/testapi.c (237439 => 237440)
--- trunk/Source/_javascript_Core/API/tests/testapi.c 2018-10-26 00:11:33 UTC (rev 237439)
+++ trunk/Source/_javascript_Core/API/tests/testapi.c 2018-10-26 00:21:00 UTC (rev 237440)
@@ -1239,7 +1239,7 @@
deadCount = 0;
for (i = 0; i < numWeakRefs; i += 2) {
- assertTrue(JSWeakGetObject(weakRefs[i]), "Marked objects stayed alive");
+ assertTrue((bool)JSWeakGetObject(weakRefs[i]), "Marked objects stayed alive");
if (!JSWeakGetObject(weakRefs[i + 1]))
deadCount++;
}
@@ -2052,7 +2052,7 @@
JSValueRef exception;
JSStringRef code = JSStringCreateWithUTF8CString("result = 0; Promise.resolve(42).then(function (value) { result = value; });");
JSStringRef file = JSStringCreateWithUTF8CString("");
- assertTrue(JSEvaluateScript(context, code, globalObject, file, 1, &exception), "An exception should not be thrown");
+ assertTrue((bool)JSEvaluateScript(context, code, globalObject, file, 1, &exception), "An exception should not be thrown");
JSStringRelease(code);
JSStringRelease(file);
Modified: trunk/Source/_javascript_Core/ChangeLog (237439 => 237440)
--- trunk/Source/_javascript_Core/ChangeLog 2018-10-26 00:11:33 UTC (rev 237439)
+++ trunk/Source/_javascript_Core/ChangeLog 2018-10-26 00:21:00 UTC (rev 237440)
@@ -1,3 +1,11 @@
+2018-10-25 Brent Fulgham <[email protected]>
+
+ Unreviewed build fix for Visual Studio 2017
+
+ * API/tests/testapi.c:
+ (testMarkingConstraintsAndHeapFinalizers):
+ (main):
+
2018-10-25 Devin Rousso <[email protected]>
Web Inspector: display fullscreen enter/exit events in Timelines and Network node waterfalls
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes