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

Unified Diff: Source/core/testing/Internals.cpp

Issue 235933002: Defer updateCompositingRequirementsState until the compositing update (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Add DeprecatedDirtyCompositingDuringCompositingUpdate Created 6 years, 8 months 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
« no previous file with comments | « Source/core/rendering/compositing/RenderLayerCompositor.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/testing/Internals.cpp
diff --git a/Source/core/testing/Internals.cpp b/Source/core/testing/Internals.cpp
index d7b34e691b3d190906e36234d1bdc8f9c2534741..e9924031defc0d5b15614b1367dc9b26e53b37ff 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -1753,7 +1753,7 @@ bool Internals::isUnclippedDescendant(Element* element, ExceptionState& exceptio
return 0;
}
- element->document().updateLayout();
+ element->document().view()->updateLayoutAndStyleForPainting();
RenderObject* renderer = element->renderer();
if (!renderer || !renderer->isBox()) {
@@ -1777,7 +1777,7 @@ bool Internals::needsCompositedScrolling(Element* element, ExceptionState& excep
return 0;
}
- element->document().updateLayout();
+ element->document().view()->updateLayoutAndStyleForPainting();
RenderObject* renderer = element->renderer();
if (!renderer || !renderer->isBox()) {
« no previous file with comments | « Source/core/rendering/compositing/RenderLayerCompositor.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698