Bug 122557

Summary: Change to std::unique_ptr breaks wtf/DataLog.cpp when DATA_LOG_TO_FILE set to 1
Product: WebKit Reporter: Michael Saboff <msaboff>
Component: JavaScriptCoreAssignee: Michael Saboff <msaboff>
Status: RESOLVED FIXED    
Severity: Normal CC: benjamin, cmarcelo, commit-queue
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
Patch fpizlo: review+

Description Michael Saboff 2013-10-09 10:00:39 PDT
After the recent change to std::unique_ptr, leakPtr() is no longer valid on the line:
    file = FilePrintStream::open(actualFilename, "w").leakPtr();
Comment 1 Michael Saboff 2013-10-09 10:03:53 PDT
Created attachment 213789 [details]
Patch
Comment 2 Michael Saboff 2013-10-09 11:20:51 PDT
Committed r157176: <http://trac.webkit.org/changeset/157176>