Reviewed by Oliver.
authordarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Apr 2007 00:44:34 +0000 (00:44 +0000)
committerdarin <darin@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 23 Apr 2007 00:44:34 +0000 (00:44 +0000)
commit1152ee29301c38ace71af03de84f1ee630b4a5cd
tree5320687e7ec2ebb87ece4ce63f8f73d0e529edb1
parent264ffe6a98ced530e1e1be174ec7ad72d0a7ecdf
    Reviewed by Oliver.

        - fix small things noticed while looking into a font subsitution bug

        * platform/Font.h: (WebCore::Font::operator==): Corrected a misleading comment.

        * platform/Font.cpp:
        (WebCore::Font::Font): Initialize m_pageZero to 0 in the empty constructor instead
        of leaving it uninitialized. Initialize m_fontList for tighter code. Remove unneeded
        initialization of RefPtr members to 0. Changed the copy constructor to use initialization
        for tighter code.
        (WebCore::Font::operator=): Sorted to match the order from the header and the copy
        constructor, and removed the uneeded self-assignment check.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@21012 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/Font.cpp
WebCore/platform/Font.h