| Index: Source/core/html/HTMLPlugInElement.cpp
|
| diff --git a/Source/core/html/HTMLPlugInElement.cpp b/Source/core/html/HTMLPlugInElement.cpp
|
| index e4c9592295eff74477e7890382463d7ea037d215..6922aa0d74e4cda6154c3a48c855e77b4363b835 100644
|
| --- a/Source/core/html/HTMLPlugInElement.cpp
|
| +++ b/Source/core/html/HTMLPlugInElement.cpp
|
| @@ -525,4 +525,11 @@ bool HTMLPlugInElement::useFallbackContent() const
|
| return hasAuthorShadowRoot();
|
| }
|
|
|
| +bool HTMLPlugInElement::canHandleInputMethod() const
|
| +{
|
| + if (!document().page())
|
| + return false;
|
| + return pluginWidget() && pluginWidget()->isPluginView() && toPluginView(pluginWidget())->supportsInputMethod();
|
| +}
|
| +
|
| }
|
|
|