| Index: sky/engine/core/rendering/RenderObject.h
|
| diff --git a/sky/engine/core/rendering/RenderObject.h b/sky/engine/core/rendering/RenderObject.h
|
| index 79916206f5703e5ba1e4aa9670a9b518d2386822..520d8b93cedcd0a238a6bf50c89be5f6562c4079 100644
|
| --- a/sky/engine/core/rendering/RenderObject.h
|
| +++ b/sky/engine/core/rendering/RenderObject.h
|
| @@ -328,7 +328,6 @@ public:
|
| virtual bool isMedia() const { return false; }
|
| virtual bool isRenderBlock() const { return false; }
|
| virtual bool isRenderBlockFlow() const { return false; }
|
| - virtual bool isRenderGrid() const { return false; }
|
| virtual bool isRenderImage() const { return false; }
|
| virtual bool isRenderInline() const { return false; }
|
| virtual bool isRenderView() const { return false; }
|
| @@ -395,9 +394,7 @@ public:
|
|
|
| virtual bool canHaveWhitespaceChildren() const
|
| {
|
| - if (isFlexibleBox() || isRenderGrid())
|
| - return false;
|
| - return true;
|
| + return !isFlexibleBox();
|
| }
|
|
|
| bool isAnonymous() const { return m_bitfields.isAnonymous(); }
|
|
|