Changeset 220058 in webkit
- Timestamp:
- Jul 31, 2017, 2:14:58 AM (9 years ago)
- Location:
- trunk/Source
- Files:
-
- 6 edited
-
WTF/ChangeLog (modified) (1 diff)
-
WTF/wtf/PrintStream.cpp (modified) (1 diff)
-
WTF/wtf/PrintStream.h (modified) (2 diffs)
-
WebCore/ChangeLog (modified) (1 diff)
-
WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp (modified) (1 diff)
-
WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WTF/ChangeLog
r220053 r220058 1 2017-07-31 Xabier Rodriguez Calvar <calvaris@igalia.com> 2 3 Created a bool pretty printer at WTF for debugging purposes 4 https://bugs.webkit.org/show_bug.cgi?id=174893 5 6 Reviewed by Darin Adler. 7 8 * wtf/PrintStream.cpp: 9 (WTF::printInternal): The overload taking bool uses boolForPrinting 10 * wtf/PrintStream.h: 11 (WTF::boolForPrinting): Converts a bool in "true" or "false". 12 1 13 2017-07-30 Yusuke Suzuki <utatane.tea@gmail.com> 2 14 -
trunk/Source/WTF/wtf/PrintStream.cpp
r209808 r220058 109 109 void printInternal(PrintStream& out, bool value) 110 110 { 111 if (value) 112 out.print("true"); 113 else 114 out.print("false"); 111 out.print(boolForPrinting(value)); 115 112 } 116 113 -
trunk/Source/WTF/wtf/PrintStream.h
r209808 r220058 44 44 class StringView; 45 45 class UniquedStringImpl; 46 47 inline const char* boolForPrinting(bool value) 48 { 49 return value ? "true" : "false"; 50 } 46 51 47 52 class PrintStream { … … 338 343 } // namespace WTF 339 344 345 using WTF::boolForPrinting; 340 346 using WTF::CharacterDump; 341 347 using WTF::PointerDump; -
trunk/Source/WebCore/ChangeLog
r220054 r220058 1 2017-07-31 Xabier Rodriguez Calvar <calvaris@igalia.com> 2 3 Created a bool pretty printer at WTF for debugging purposes 4 https://bugs.webkit.org/show_bug.cgi?id=174893 5 6 Reviewed by Darin Adler. 7 8 Use WTF::boolPrettyPrinter in debugging messages. 9 10 * platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp: 11 (WebCore::MediaPlayerPrivateGStreamerBase::supportsKeySystem): 12 * platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp: 13 (WebCore::MediaPlayerPrivateGStreamerMSE::seek): 14 1 15 2017-07-30 Zan Dobersek <zdobersek@igalia.com> 2 16 -
trunk/Source/WebCore/platform/graphics/gstreamer/MediaPlayerPrivateGStreamerBase.cpp
r219979 r220058 1041 1041 #endif 1042 1042 1043 GST_DEBUG("checking for KeySystem support with %s and type %s: %s", keySystem.utf8().data(), mimeType.utf8().data(), result ? "true" : "false");1043 GST_DEBUG("checking for KeySystem support with %s and type %s: %s", keySystem.utf8().data(), mimeType.utf8().data(), boolForPrinting(result)); 1044 1044 return result; 1045 1045 } -
trunk/Source/WebCore/platform/graphics/gstreamer/mse/MediaPlayerPrivateGStreamerMSE.cpp
r217966 r220058 198 198 199 199 m_isEndReached = false; 200 GST_DEBUG("m_seeking=%s, m_seekTime=%f", m_seeking ? "true" : "false", m_seekTime);200 GST_DEBUG("m_seeking=%s, m_seekTime=%f", boolForPrinting(m_seeking), m_seekTime); 201 201 } 202 202
Note:
See TracChangeset
for help on using the changeset viewer.