Reviewed by Adam.
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Feb 2007 01:29:12 +0000 (01:29 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 8 Feb 2007 01:29:12 +0000 (01:29 +0000)
commitec471b98e52c0d968fb4ec6fabfbec6b0ad62990
tree5f5d804f3ea36a7cd68fc58531f0cf76ca0066cb
parenta3b6c8d92f6ce6efc6c3a9d99bdf78e2916afa35
    Reviewed by Adam.

        <rdar://problem/4943650> REGRESSION: insertion point blink redraws entire web page, making everything slow

        Problem is that AppKit recently changed NSControl to trigger a full redraw if the control has a focus ring.
        WebHTMLView is a subclass of NSControl, but the focus ring type was the default value, though we actually
        draw no focus ring. Fix is to formally set our focus ring type.

        * WebView/WebHTMLView.mm:
        (-[WebHTMLView initWithFrame:]):
        Send [self setFocusRingType:NSFocusRingTypeNone].

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@19484 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebKit/ChangeLog
WebKit/WebView/WebHTMLView.mm