Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(32)

Unified Diff: sky/engine/core/rendering/RenderView.h

Issue 730653002: Sky: update the HTMLIFrameElement's geometry during paint invalidation rather (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: null check Created 6 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: sky/engine/core/rendering/RenderView.h
diff --git a/sky/engine/core/rendering/RenderView.h b/sky/engine/core/rendering/RenderView.h
index e76f46ae1d8e3336522c0238f9e07b25426d5515..53005d845c177b776421634b835fe3aace22df5e 100644
--- a/sky/engine/core/rendering/RenderView.h
+++ b/sky/engine/core/rendering/RenderView.h
@@ -26,6 +26,7 @@
#include "core/rendering/LayoutState.h"
#include "core/rendering/PaintInvalidationState.h"
#include "core/rendering/RenderBlockFlow.h"
+#include "core/rendering/RenderIFrame.h"
#include "platform/scroll/ScrollableArea.h"
#include "wtf/OwnPtr.h"
@@ -128,6 +129,9 @@ public:
void popLayoutState();
virtual void invalidateTreeIfNeeded(const PaintInvalidationState&) override final;
+ void addIFrame(RenderIFrame* iframe);
+ void removeIFrame(RenderIFrame* iframe);
+
private:
virtual void mapLocalToContainer(const RenderLayerModelObject* paintInvalidationContainer, TransformState&, MapCoordinatesFlags = ApplyContainerFlip, const PaintInvalidationState* = 0) const override;
virtual const RenderObject* pushMappingToContainer(const RenderLayerModelObject* ancestorToStopAt, RenderGeometryMap&) const override;
@@ -161,6 +165,8 @@ private:
unsigned m_renderCounterCount;
unsigned m_hitTestCount;
+
+ WTF::HashSet<RenderIFrame*> m_iframes;
};
DEFINE_RENDER_OBJECT_TYPE_CASTS(RenderView, isRenderView());

Powered by Google App Engine
This is Rietveld 408576698