Title: [233677] trunk/Source/WTF
Revision
233677
Author
[email protected]
Date
2018-07-09 23:13:40 -0700 (Mon, 09 Jul 2018)

Log Message

Unreviewed follow-up to r233660.

* wtf/linux/MemoryFootprintLinux.cpp:
(WTF::memoryFootprint): Revert accidental change of logical OR into a bitwise OR.

Modified Paths

Diff

Modified: trunk/Source/WTF/ChangeLog (233676 => 233677)


--- trunk/Source/WTF/ChangeLog	2018-07-10 02:33:32 UTC (rev 233676)
+++ trunk/Source/WTF/ChangeLog	2018-07-10 06:13:40 UTC (rev 233677)
@@ -1,3 +1,10 @@
+2018-07-09  Zan Dobersek  <[email protected]>
+
+        Unreviewed follow-up to r233660.
+
+        * wtf/linux/MemoryFootprintLinux.cpp:
+        (WTF::memoryFootprint): Revert accidental change of logical OR into a bitwise OR.
+
 2018-07-09  Youenn Fablet  <[email protected]>
 
         StringView operator==(char*) should check the length of the string

Modified: trunk/Source/WTF/wtf/linux/MemoryFootprintLinux.cpp (233676 => 233677)


--- trunk/Source/WTF/wtf/linux/MemoryFootprintLinux.cpp	2018-07-10 02:33:32 UTC (rev 233676)
+++ trunk/Source/WTF/wtf/linux/MemoryFootprintLinux.cpp	2018-07-10 06:13:40 UTC (rev 233677)
@@ -72,7 +72,7 @@
             }
             if (scannedCount == 7) {
                 StringView pathString(path);
-                isAnonymous = pathString == "[heap]" | pathString.startsWith("[stack");
+                isAnonymous = pathString == "[heap]" || pathString.startsWith("[stack");
                 return;
             }
         }
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to