]> git.saurik.com Git - cydia.git/commitdiff
Use lazy loading for pushed web controllers.
authorJay Freeman (saurik) <saurik@saurik.com>
Mon, 14 Mar 2011 09:39:27 +0000 (02:39 -0700)
committerJay Freeman (saurik) <saurik@saurik.com>
Mon, 14 Mar 2011 12:09:11 +0000 (05:09 -0700)
CyteKit/WebViewController.mm

index d7a8594d65fb74cc4543cb49232b4488b0d3458c..444e821e6e4cae03d2276e46aac58c3eba9d8f5d 100644 (file)
@@ -370,7 +370,7 @@ float CYScrollViewDecelerationRateNormal;
 
     if (page == nil) {
         CyteWebViewController *browser([[[class_ alloc] init] autorelease]);
-        [browser loadRequest:request];
+        [browser setRequest:request];
         page = browser;
     }