Chromium Code Reviews| Index: third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
| diff --git a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
| index a8f80d614dcd79f4d1a44fafbd6d67ef6c822204..363ea86998849a51f0cdeaa1d61e7079fbf1d36e 100644 |
| --- a/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
| +++ b/third_party/WebKit/Source/web/WebPluginContainerImpl.cpp |
| @@ -189,6 +189,12 @@ void WebPluginContainerImpl::setFocused(bool focused, WebFocusType focusType) { |
| m_webPlugin->updateFocus(focused, focusType); |
| } |
| +bool WebPluginContainerImpl::isPlaceholder() { |
| + if (m_webPlugin) |
| + return m_webPlugin->isPlaceholder(); |
| + return false; |
|
Bernhard Bauer
2017/03/28 10:55:59
I would maybe return early in this case instead.
George Joseph
2017/03/30 08:41:44
Done.
|
| +} |
| + |
| void WebPluginContainerImpl::show() { |
| setSelfVisible(true); |
| m_webPlugin->updateVisibility(true); |