]> git.saurik.com Git - cydget.git/commitdiff
WebCore::KURL got renamed to WebCore::URL on iOS 8.
authorJay Freeman (saurik) <saurik@saurik.com>
Thu, 27 Nov 2014 12:49:33 +0000 (04:49 -0800)
committerJay Freeman (saurik) <saurik@saurik.com>
Thu, 27 Nov 2014 12:49:33 +0000 (04:49 -0800)
LockScreen.mm

index ec12dff27d006b36d4bf2e2ca3ee871804cf89f7..ed923643ecc579d15addd34fb373354a69e96b5c 100644 (file)
@@ -1223,6 +1223,8 @@ static void $UIWebViewWebViewDelegate$webView$didClearWindowObject$forFrame$(UIW
 
     void (*_ZN7WebCore16ScriptSourceCodeC2ERKN3WTF6StringERKNS_4KURLERKNS1_12TextPositionE)(void *, const WebCore::String &, const WebCore::KURL &, void *);
     msset(_ZN7WebCore16ScriptSourceCodeC2ERKN3WTF6StringERKNS_4KURLERKNS1_12TextPositionE, WebCore);
+    if (_ZN7WebCore16ScriptSourceCodeC2ERKN3WTF6StringERKNS_4KURLERKNS1_12TextPositionE == NULL)
+        MSHookSymbol(_ZN7WebCore16ScriptSourceCodeC2ERKN3WTF6StringERKNS_4KURLERKNS1_12TextPositionE, "__ZN7WebCore16ScriptSourceCodeC2ERKN3WTF6StringERKNS_3URLERKNS1_12TextPositionE", WebCore);
     if (_ZN7WebCore16ScriptSourceCodeC2ERKN3WTF6StringERKNS_4KURLERKNS1_12TextPositionE != NULL)
         MSHookFunction(_ZN7WebCore16ScriptSourceCodeC2ERKN3WTF6StringERKNS_4KURLERKNS1_12TextPositionE, MSHake(_ZN7WebCore16ScriptSourceCodeC2ERKN3WTF6StringERKNS_4KURLERKNS1_12TextPositionE));