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

Unified Diff: sky/engine/core/rendering/RenderObject.cpp

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/RenderObject.cpp
diff --git a/sky/engine/core/rendering/RenderObject.cpp b/sky/engine/core/rendering/RenderObject.cpp
index 0938f761404e034673dee7915641cf0d1433601e..d879d7e7cb817bbf4ef5d69c2f8fac95ad2dc7b6 100644
--- a/sky/engine/core/rendering/RenderObject.cpp
+++ b/sky/engine/core/rendering/RenderObject.cpp
@@ -1413,6 +1413,9 @@ InvalidationReason RenderObject::invalidatePaintIfNeeded(const RenderLayerModelO
if (invalidationReason == InvalidationNone)
return invalidationReason;
+ if (invalidateWidgetBounds())
+ return invalidationReason;
+
if (invalidationReason == InvalidationIncremental) {
incrementallyInvalidatePaint(paintInvalidationContainer, oldBounds, newBounds, newLocation);
return invalidationReason;

Powered by Google App Engine
This is Rietveld 408576698