diff options
author | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-07 06:33:44 -0800 |
---|---|---|
committer | Jay Freeman (saurik) <saurik@saurik.com> | 2011-03-08 01:50:03 -0800 |
commit | dfdb9ae0d3bc3689c3ca7b59e92f45c1b3ecb28f (patch) | |
tree | b2a20091c1ff238a838b6cfaaf36ecb80950ca0c /CyteKit/WebViewController.mm | |
parent | 86cf87e24a37797fc9899825bd5ce1f1f5c1ce04 (diff) |
Fix _H<> copy assignment operator.
Diffstat (limited to 'CyteKit/WebViewController.mm')
-rw-r--r-- | CyteKit/WebViewController.mm | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/CyteKit/WebViewController.mm b/CyteKit/WebViewController.mm index 496d8b2..03f0b95 100644 --- a/CyteKit/WebViewController.mm +++ b/CyteKit/WebViewController.mm @@ -324,7 +324,7 @@ float CYScrollViewDecelerationRateNormal; return; if ([[error domain] isEqualToString:WebKitErrorDomain] && [error code] == WebKitErrorFrameLoadInterruptedByPolicyChange) { - request_ = (id) stage2_; + request_ = stage2_; stage1_ = nil; stage2_ = nil; return; @@ -414,7 +414,7 @@ float CYScrollViewDecelerationRateNormal; if ([frame parentFrame] == nil) if (decision == CYWebPolicyDecisionUse) if (!error_) { - stage1_ = (id) request_; + stage1_ = request_; request_ = request; } } @@ -525,7 +525,7 @@ float CYScrollViewDecelerationRateNormal; style_ = nil; function_ = nil; - stage2_ = (id) stage1_; + stage2_ = stage1_; stage1_ = nil; [self setHidesNavigationBar:NO]; |