| Index: content/renderer/browser_plugin/browser_plugin.cc
|
| diff --git a/content/renderer/browser_plugin/browser_plugin.cc b/content/renderer/browser_plugin/browser_plugin.cc
|
| index 64eaa786cd7106b9f74802c00e85effa097871d0..301ea0ef67a2c316fc7fa72afca62f0eebbd85a9 100644
|
| --- a/content/renderer/browser_plugin/browser_plugin.cc
|
| +++ b/content/renderer/browser_plugin/browser_plugin.cc
|
| @@ -5,7 +5,11 @@
|
| #include "content/renderer/browser_plugin/browser_plugin.h"
|
|
|
| #include <stddef.h>
|
| +
|
| +#include <map>
|
| +#include <string>
|
| #include <utility>
|
| +#include <vector>
|
|
|
| #include "base/command_line.h"
|
| #include "base/location.h"
|
| @@ -159,7 +163,11 @@ void BrowserPlugin::Attach() {
|
| blink::WebLocalFrame* frame = Container()->GetDocument().GetFrame();
|
| attach_params.is_full_page_plugin =
|
| frame->View()->MainFrame()->IsWebLocalFrame() &&
|
| - frame->View()->MainFrame()->GetDocument().IsPluginDocument();
|
| + frame->View()
|
| + ->MainFrame()
|
| + ->ToWebLocalFrame()
|
| + ->GetDocument()
|
| + .IsPluginDocument();
|
| }
|
| BrowserPluginManager::Get()->Send(new BrowserPluginHostMsg_Attach(
|
| render_frame_routing_id_,
|
|
|