Reviewed by Darin.
[WebKit-https.git] / WebKit / Loader / WebFrameLoader.m
index 02acb6105cfa0ec9cc6b94dcc0761c4d69afbdd8..6462066808e553c7490615904b0f6b49aba047aa 100644 (file)
@@ -1495,9 +1495,9 @@ static CFAbsoluteTime _timeOfLastCompletedLoad;
 
     policyLoadType = type;
 
-    WebFrame *parentFrame = [client parentFrame];
+    WebCoreFrameBridge *parentFrame = [[self bridge] parent];
     if (parentFrame)
-        [loader setOverrideEncoding:[[[parentFrame _frameLoader] documentLoader] overrideEncoding]];
+        [loader setOverrideEncoding:[[[(WebFrameBridge *)parentFrame frameLoader] documentLoader] overrideEncoding]];
 
     [loader setFrameLoader:self];