Fixes the following build error when building Deployment:
authorthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 9 Oct 2005 23:15:32 +0000 (23:15 +0000)
committerthatcher <thatcher@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Sun, 9 Oct 2005 23:15:32 +0000 (23:15 +0000)
DumpRenderTree/TextInputController.m: In function '-[TextInputController textInput]':
DumpRenderTree/TextInputController.m:87: warning: class 'NSView <WebDocumentView>' does not implement the 'NSTextInput' protocol

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@10803 268f45cc-cd09-0410-ab3c-d52691b4dbfc

WebKitTools/DumpRenderTree/TextInputController.m

index b0ef4b7695ede3488292d9f495a0c8f22ef6b275..835b054442df534146995dbfb7e656a9a16264ed 100644 (file)
@@ -83,7 +83,7 @@
 
 - (NSObject <NSTextInput> *)textInput
 {
-    NSView <WebDocumentView> *view = [[[webView mainFrame] frameView] documentView];
+    NSView <NSTextInput> *view = [[[webView mainFrame] frameView] documentView];
     return [view conformsToProtocol:@protocol(NSTextInput)] ? view : nil;
 }