Title: [157176] trunk/Source/WTF
- Revision
- 157176
- Author
- [email protected]
- Date
- 2013-10-09 11:22:08 -0700 (Wed, 09 Oct 2013)
Log Message
Change to std::unique_ptr breaks wtf/DataLog.cpp when DATA_LOG_TO_FILE set to 1
https://bugs.webkit.org/show_bug.cgi?id=122557
Reviewed by Filip Pizlo.
Changed the leakPtr() to release().
* wtf/DataLog.cpp:
(WTF::initializeLogFileOnce):
Modified Paths
Diff
Modified: trunk/Source/WTF/ChangeLog (157175 => 157176)
--- trunk/Source/WTF/ChangeLog 2013-10-09 17:07:13 UTC (rev 157175)
+++ trunk/Source/WTF/ChangeLog 2013-10-09 18:22:08 UTC (rev 157176)
@@ -1,3 +1,15 @@
+2013-10-09 Michael Saboff <[email protected]>
+
+ Change to std::unique_ptr breaks wtf/DataLog.cpp when DATA_LOG_TO_FILE set to 1
+ https://bugs.webkit.org/show_bug.cgi?id=122557
+
+ Reviewed by Filip Pizlo.
+
+ Changed the leakPtr() to release().
+
+ * wtf/DataLog.cpp:
+ (WTF::initializeLogFileOnce):
+
2013-10-08 Tim Horton <[email protected]>
Turn threaded scrolling on for all Mac ports.
Modified: trunk/Source/WTF/wtf/DataLog.cpp (157175 => 157176)
--- trunk/Source/WTF/wtf/DataLog.cpp 2013-10-09 17:07:13 UTC (rev 157175)
+++ trunk/Source/WTF/wtf/DataLog.cpp 2013-10-09 18:22:08 UTC (rev 157176)
@@ -75,7 +75,7 @@
#endif
if (filename) {
- file = FilePrintStream::open(actualFilename, "w").leakPtr();
+ file = FilePrintStream::open(actualFilename, "w").release();
if (!file)
fprintf(stderr, "Warning: Could not open log file %s for writing.\n", actualFilename);
}
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes