Reviewed by Brady.
authorggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Oct 2006 18:29:57 +0000 (18:29 +0000)
committerggaren <ggaren@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Fri, 27 Oct 2006 18:29:57 +0000 (18:29 +0000)
commita19a6c16c825c36b25f010a5bc989ed344a02cd8
tree4e149ee711f04a9a9787f62410c73c5ce64f9e4a
parent1e95566bf9e73c94861beeb0e9c26e0111c8f7c5
    Reviewed by Brady.

        Fixed semantic inaccuracy in String::operator NSString *(), where a NULL
        String became an empty NSString *, instead of nil. This will become important
        as we start using this conversion more.

        Added work-around for AppKit crash that semantic accuracy revealed.

        No testcase because I don't think there's a way to reflect this change
        in a webpage yet.

        * platform/PlatformString.h:
        (WebCore::String::operator NSString*):
        * platform/mac/TextFieldMac.mm:
        (-[NSSearchFieldCell _addStringToRecentSearches:]):

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17378 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/platform/PlatformString.h
WebCore/platform/mac/TextFieldMac.mm