Index: ios/web/web_state/ui/web_view_js_utils.h |
diff --git a/ios/web/web_state/ui/web_view_js_utils.h b/ios/web/web_state/ui/web_view_js_utils.h |
index 35d1365191059fca5cf52be063d7cf7843b115f0..22674d18102142596e0c99bfdf0faff36a6795bb 100644 |
--- a/ios/web/web_state/ui/web_view_js_utils.h |
+++ b/ios/web/web_state/ui/web_view_js_utils.h |
@@ -30,13 +30,6 @@ enum JSEvaluationErrorCode { |
// Converts result of WKWebView script evaluation to base::Value. |
std::unique_ptr<base::Value> ValueResultFromWKResult(id result); |
-// Evaluates JavaScript on WKWebView. Provides evaluation result as a string. |
-// If the web view cannot evaluate JS at the moment, |completion_handler| is |
-// called with an NSError. |
-void EvaluateJavaScript(WKWebView* web_view, |
- NSString* script, |
- JavaScriptCompletion completion_handler); |
- |
// Executes JavaScript on WKWebView. If the web view cannot execute JS at the |
// moment, |completion_handler| is called with an NSError. |
void ExecuteJavaScript(WKWebView* web_view, |