Changeset 58041 in webkit


Ignore:
Timestamp:
Apr 21, 2010 7:41:51 PM (14 years ago)
Author:
eric@webkit.org
Message:

2010-04-21 Charles Wei <charles.wei@torchmobile.com.cn>

Reviewed by George Staikos.

Fix webkit build problem when xhtmlmp enabled, which is introduced by revision 57927, for
bug fix of 37175 , which seperates DocumentWriter from FrameLoader
https://bugs.webkit.org/show_bug.cgi?id=37915

No new tests since this only fixes the build problem.

  • dom/Document.cpp: (WebCore::Document::isXHTMLMPDocument):
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r58040 r58041  
     12010-04-21  Charles Wei  <charles.wei@torchmobile.com.cn>
     2
     3        Reviewed by George Staikos.
     4
     5        Fix webkit build problem when xhtmlmp enabled, which is introduced by revision 57927, for
     6        bug fix of 37175 , which seperates DocumentWriter from FrameLoader
     7        https://bugs.webkit.org/show_bug.cgi?id=37915
     8
     9        No new tests since this only fixes the build problem.
     10
     11        * dom/Document.cpp:
     12        (WebCore::Document::isXHTMLMPDocument):
     13
    1142010-04-21  Shinichiro Hamaji  <hamaji@chromium.org>
    215
  • trunk/WebCore/dom/Document.cpp

    r57927 r58041  
    48634863    // and SHOULD accept it identified as "application/xhtml+xml" , "application/xhtml+xml" is a
    48644864    // general MIME type for all XHTML documents, not only for XHTMLMP
    4865     return frame()->loader()->responseMIMEType() == "application/vnd.wap.xhtml+xml";
     4865    return frame()->loader()->writer()->mimeType() == "application/vnd.wap.xhtml+xml";
    48664866}
    48674867#endif
Note: See TracChangeset for help on using the changeset viewer.