| Index: content/renderer/render_frame_impl.cc
|
| diff --git a/content/renderer/render_frame_impl.cc b/content/renderer/render_frame_impl.cc
|
| index 9e059675510bfae4e210991066bde776368991e0..42025f8f0bd5f8e07455282a1ce1a0ccad7aae1e 100644
|
| --- a/content/renderer/render_frame_impl.cc
|
| +++ b/content/renderer/render_frame_impl.cc
|
| @@ -41,6 +41,7 @@
|
| #include "content/child/service_worker/service_worker_network_provider.h"
|
| #include "content/child/service_worker/service_worker_provider_context.h"
|
| #include "content/child/service_worker/web_service_worker_provider_impl.h"
|
| +#include "content/child/thread_safe_sender.h"
|
| #include "content/child/v8_value_converter_impl.h"
|
| #include "content/child/web_url_loader_impl.h"
|
| #include "content/child/web_url_request_util.h"
|
| @@ -160,6 +161,8 @@
|
| #include "third_party/WebKit/public/web/WebFindOptions.h"
|
| #include "third_party/WebKit/public/web/WebFrameSerializer.h"
|
| #include "third_party/WebKit/public/web/WebFrameWidget.h"
|
| +#include "third_party/WebKit/public/web/WebFramelet.h"
|
| +#include "third_party/WebKit/public/web/WebFrameletClient.h"
|
| #include "third_party/WebKit/public/web/WebKit.h"
|
| #include "third_party/WebKit/public/web/WebLocalFrame.h"
|
| #include "third_party/WebKit/public/web/WebMediaStreamRegistry.h"
|
| @@ -2616,6 +2619,13 @@ blink::WebFrame* RenderFrameImpl::createChildFrame(
|
| return web_frame;
|
| }
|
|
|
| +blink::WebFramelet* RenderFrameImpl::createFramelet(const blink::WebURL& url) {
|
| + blink::WebFrameletClient* client =
|
| + GetContentClient()->renderer()->CreateFramelet(
|
| + this, GURL(url), RenderThreadImpl::current()->thread_safe_sender());
|
| + return blink::WebFramelet::create(client);
|
| +}
|
| +
|
| void RenderFrameImpl::didChangeOpener(blink::WebFrame* opener) {
|
| // Only active frames are able to disown their opener.
|
| if (!opener && is_swapped_out_)
|
|
|