Bug 37915

Summary: WebKit build failure with xhtmlmp enabled , after patches for Bug 37175
Product: WebKit Reporter: Charles Wei <charles.wei>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Major CC: commit-queue, staikos
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Attachments:
Description Flags
This patch fixes the build problem caused by defect 37175 (only fails when xhtmlmp is enabled) none

Description Charles Wei 2010-04-21 02:14:34 PDT
With bug 37175,  which factors out DocumentWriter from FrameLoader,  the API FrameLoader::responseMIMEType() is now DocumentWriter::mimeType().

#if ENABLE(XHTMLMP)
bool Document::isXHTMLMPDocument() const 
{
...
    return frame()->loader()->responseMIMEType() == "application/vnd.wap.xhtml+xml";
}
#endif 

should be changed to : 

   return frame()->loader()->writer()->mimeType() == "application/vnd.wap.xhtml+xml";
Comment 1 Charles Wei 2010-04-21 02:25:04 PDT
Created attachment 53933 [details]
This patch fixes the build problem caused by defect 37175 (only fails when xhtmlmp is enabled)

This patch fixes the build problem caused by defect 37175 (only fails when xhtmlmp is enabled)
Comment 2 WebKit Commit Bot 2010-04-21 19:42:00 PDT
Comment on attachment 53933 [details]
This patch fixes the build problem caused by defect 37175 (only fails when xhtmlmp is enabled)

Clearing flags on attachment: 53933

Committed r58041: <http://trac.webkit.org/changeset/58041>
Comment 3 WebKit Commit Bot 2010-04-21 19:42:04 PDT
All reviewed patches have been landed.  Closing bug.