Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
| diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
| index acbe2d537a7697ade62daf4111ad04a2c5831b58..0a2a35a464485064187b4cc5835718417bc5a62e 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
| +++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.cpp |
| @@ -428,6 +428,13 @@ bool HTMLPlugInElement::isPluginElement() const { |
| return true; |
| } |
| +bool HTMLPlugInElement::isErrorplaceholder() { |
| + if (pluginWidget() && (pluginWidget()->isPluginContainer()) && |
|
Bernhard Bauer
2017/04/05 09:56:20
Nit: Parentheses around the individual expressions
George Joseph
2017/04/09 00:41:37
Done.
|
| + ((pluginWidget()->isErrorplaceholder()))) |
| + return true; |
| + return false; |
| +} |
| + |
| void HTMLPlugInElement::disconnectContentFrame() { |
| HTMLFrameOwnerElement::disconnectContentFrame(); |
| setPersistedPluginWidget(nullptr); |