From 3925268e1a923acde83ef05874df89c7949bb7c6 Mon Sep 17 00:00:00 2001 From: "Jay Freeman (saurik)" Date: Sun, 12 Jan 2014 17:25:26 -0800 Subject: [PATCH] Fix critical/stupid iOS 5 regression in WBMarkup. --- WBMarkup.mm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/WBMarkup.mm b/WBMarkup.mm index 9918a28..dc6f9e5 100644 --- a/WBMarkup.mm +++ b/WBMarkup.mm @@ -67,9 +67,9 @@ static WBMarkup *SharedMarkup_; + (void) initialize { MSImageRef WebCore(MSGetImageByName("/System/Library/PrivateFrameworks/WebCore.framework/WebCore")); - MSHookSymbol(WKViewLockFocus$, "WKViewLockFocus", WebCore); - MSHookSymbol(WKViewUnlockFocus$, "WKViewUnlockFocus", WebCore); - MSHookSymbol(WKViewDisplayRect$, "WKViewDisplayRect", WebCore); + MSHookSymbol(WKViewLockFocus$, "_WKViewLockFocus", WebCore); + MSHookSymbol(WKViewUnlockFocus$, "_WKViewUnlockFocus", WebCore); + MSHookSymbol(WKViewDisplayRect$, "_WKViewDisplayRect", WebCore); MSImageRef JavaScriptCore(MSGetImageByName("/System/Library/Frameworks/JavaScriptCore.framework/JavaScriptCore")); -- 2.45.2