diff options
Diffstat (limited to 'CyteKit/WebViewController.mm')
-rw-r--r-- | CyteKit/WebViewController.mm | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm index 03f0b95..ca2f89a 100644 --- a/CyteKit/WebViewController.mm +++ b/CyteKit/WebViewController.mm @@ -25,6 +25,9 @@ extern NSString * const kCAFilterNearest; #include <WebKit/DOMHTMLBodyElement.h> #include <WebKit/DOMRGBColor.h> +#include <dlfcn.h> +#include <objc/runtime.h> + #define ForSaurik 0 #define DefaultTimeout_ 120.0 @@ -138,9 +141,6 @@ float CYScrollViewDecelerationRateNormal; NSLog(@"[CyteWebViewController dealloc]"); #endif - [webview_ setDelegate:nil]; - [indirect_ setDelegate:nil]; - if ([loading_ count] != 0) [delegate_ releaseNetworkActivityIndicator]; @@ -919,7 +919,7 @@ float CYScrollViewDecelerationRateNormal; } - (void) dispatchEvent:(NSString *)event { - [webview_ dispatchEvent:event]; + [(CyteWebView *) webview_ dispatchEvent:event]; } - (bool) hidesNavigationBar { |