| Index: content/browser/frame_host/frame_tree.cc
|
| diff --git a/content/browser/frame_host/frame_tree.cc b/content/browser/frame_host/frame_tree.cc
|
| index 4dcf54140956a2165fbd03bba4f3a24a52f38584..300075f79e4e3835c6f63d65447355b5809c4c34 100644
|
| --- a/content/browser/frame_host/frame_tree.cc
|
| +++ b/content/browser/frame_host/frame_tree.cc
|
| @@ -253,6 +253,19 @@ void FrameTree::SetFocusedFrame(FrameTreeNode* node, SiteInstance* source) {
|
| if (node == GetFocusedFrame())
|
| return;
|
|
|
| + if (!node) {
|
| + // TODO(avallee): https://crbug.com/614463 Notify proxies here once
|
| + // <webview> supports oopifs inside itself.
|
| + if (GetFocusedFrame())
|
| + GetFocusedFrame()->current_frame_host()->ClearFocusedFrame();
|
| + focused_frame_tree_node_id_ = FrameTreeNode::kFrameTreeNodeInvalidId;
|
| +
|
| + // TODO(avallee): https://crbug.com/610795 This line is not sufficient to
|
| + // make the test pass. There seems to be no focus change events generated.
|
| + root()->current_frame_host()->UpdateAXTreeData();
|
| + return;
|
| + }
|
| +
|
| std::set<SiteInstance*> frame_tree_site_instances =
|
| CollectSiteInstances(this);
|
|
|
|
|