| Index: sky/engine/core/dom/Document.cpp
|
| diff --git a/sky/engine/core/dom/Document.cpp b/sky/engine/core/dom/Document.cpp
|
| index cacc9f545029bc1d1e8641027331e7194cf65134..76314ba809e51e42c2ea8e0187c17cf722308e6f 100644
|
| --- a/sky/engine/core/dom/Document.cpp
|
| +++ b/sky/engine/core/dom/Document.cpp
|
| @@ -127,7 +127,6 @@
|
| #include "sky/engine/core/page/Page.h"
|
| #include "sky/engine/core/rendering/HitTestResult.h"
|
| #include "sky/engine/core/rendering/RenderView.h"
|
| -#include "sky/engine/core/rendering/compositing/RenderLayerCompositor.h"
|
| #include "sky/engine/platform/DateComponents.h"
|
| #include "sky/engine/platform/EventDispatchForbiddenScope.h"
|
| #include "sky/engine/platform/Language.h"
|
| @@ -1259,9 +1258,7 @@ void Document::attach(const AttachContext& context)
|
| m_renderView = new RenderView(this);
|
| setRenderer(m_renderView);
|
|
|
| - m_renderView->setIsInWindow(true);
|
| m_renderView->setStyle(StyleResolver::styleForDocument(*this));
|
| - m_renderView->compositor()->setNeedsCompositingUpdate(CompositingUpdateAfterCompositingInputChange);
|
|
|
| ContainerNode::attach(context);
|
|
|
| @@ -1287,9 +1284,6 @@ void Document::detach(const AttachContext& context)
|
| if (m_domWindow)
|
| m_domWindow->clearEventQueue();
|
|
|
| - if (m_renderView)
|
| - m_renderView->setIsInWindow(false);
|
| -
|
| m_hoverNode = nullptr;
|
| m_focusedElement = nullptr;
|
| m_activeHoverElement = nullptr;
|
| @@ -1732,7 +1726,7 @@ void Document::styleResolverChanged(StyleResolverUpdateMode updateMode)
|
|
|
| ASSERT(renderView() || importsController());
|
| if (renderView())
|
| - renderView()->invalidatePaintForViewAndCompositedLayers();
|
| + renderView()->setShouldDoFullPaintInvalidation(true);
|
| }
|
| }
|
|
|
|
|