| Index: third_party/WebKit/Source/core/layout/LayoutObject.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| index c4cf35150e68a740cc9b2c61775d1e1e8db32475..7e63ae8ebb44d9a41b88422c9d8c8227d48e47bd 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -1505,9 +1505,9 @@ class CORE_EXPORT LayoutObject : public ImageResourceObserver,
|
| !isInert();
|
| }
|
|
|
| + // Warning: inertness can change without causing relayout.
|
| bool visibleToHitTesting() const {
|
| - return style()->visibility() == EVisibility::Visible &&
|
| - style()->pointerEvents() != PE_NONE && !isInert();
|
| + return style()->visibleToHitTesting() && !isInert();
|
| }
|
|
|
| // Map points and quads through elements, potentially via 3d transforms. You
|
|
|