Chromium Code Reviews| Index: third_party/WebKit/Source/core/html/HTMLPlugInElement.h |
| diff --git a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h |
| index 5459be0611818aa7313e2d5f5943d35dd268bec3..8b91487abf2673dc6bfe19e2419276590842194a 100644 |
| --- a/third_party/WebKit/Source/core/html/HTMLPlugInElement.h |
| +++ b/third_party/WebKit/Source/core/html/HTMLPlugInElement.h |
| @@ -140,6 +140,10 @@ private: |
| mutable RefPtr<SharedPersistent<v8::Object>> m_pluginWrapper; |
| bool m_needsWidgetUpdate; |
| bool m_shouldPreferPlugInsForImages; |
| + // Represents |layoutObject() && layoutObject()->isEmbeddedObject() && |
| + // !layoutEmbeddedItem().showsUnavailablePluginIndicator()|. We want to |
| + // avoid to access |layoutObject()| in layoutObjectIsFocusable(). |
|
kochi
2016/07/21 05:04:23
nit: avoid accessing
tkent
2016/07/21 05:07:22
Done.
|
| + bool m_pluginIsAvailable = false; |
| // Normally the Widget is stored in HTMLFrameOwnerElement::m_widget. |
| // However, plugins can persist even when not rendered. In order to |