Commit 88da5996 authored by Javier Ernesto Flores Robles's avatar Javier Ernesto Flores Robles Committed by Commit Bot

[iOS][MF] Sets the last frame ID

Not setting this was causing a crash on iOS < 11.2

Bug: 878388
Change-Id: I6b5391a360e1f06e584352235a978273d704bd26
Reviewed-on: https://chromium-review.googlesource.com/c/1348034Reviewed-by: default avatarYi Su <mrsuyi@chromium.org>
Commit-Queue: Javier Ernesto Flores Robles <javierrobles@chromium.org>
Cr-Commit-Position: refs/heads/master@{#610405}
parent 67e42af2
...@@ -200,6 +200,8 @@ const int64_t kJavaScriptExecutionTimeoutInSeconds = 1; ...@@ -200,6 +200,8 @@ const int64_t kJavaScriptExecutionTimeoutInSeconds = 1;
FormInputAccessoryViewHandler* handler = FormInputAccessoryViewHandler* handler =
[[FormInputAccessoryViewHandler alloc] init]; [[FormInputAccessoryViewHandler alloc] init];
handler.JSSuggestionManager = self.suggestionManager; handler.JSSuggestionManager = self.suggestionManager;
[handler setLastFocusFormActivityWebFrameID:
base::SysUTF8ToNSString(self.lastFocusedElementFrameIdentifier)];
[handler selectNextElementWithoutButtonPress]; [handler selectNextElementWithoutButtonPress];
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment