Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(743)

Unified Diff: ios/web/web_state/js/crw_js_injection_receiver.mm

Issue 2281803002: [ios] Removed deprecated JS execution API. (Closed)
Patch Set: Merged with master Created 4 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « ios/web/web_state/js/crw_js_injection_manager.mm ('k') | ios/web/web_state/ui/crw_web_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ios/web/web_state/js/crw_js_injection_receiver.mm
diff --git a/ios/web/web_state/js/crw_js_injection_receiver.mm b/ios/web/web_state/js/crw_js_injection_receiver.mm
index 698d5e9017dd14e6d16418b7041a3f23ce0604ba..93386509584862efd8ba570d80dd0b826bf0191d 100644
--- a/ios/web/web_state/js/crw_js_injection_receiver.mm
+++ b/ios/web/web_state/js/crw_js_injection_receiver.mm
@@ -36,11 +36,6 @@
#pragma mark -
#pragma mark CRWJSInjectionEvaluatorMethods
-- (void)evaluateJavaScript:(NSString*)script
- stringResultHandler:(web::JavaScriptCompletion)handler {
- [_evaluator evaluateJavaScript:script stringResultHandler:handler];
-}
-
- (void)executeJavaScript:(NSString*)script
completionHandler:(web::JavaScriptResultBlock)completionHandler {
[_evaluator executeJavaScript:script completionHandler:completionHandler];
« no previous file with comments | « ios/web/web_state/js/crw_js_injection_manager.mm ('k') | ios/web/web_state/ui/crw_web_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698