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

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

Issue 170713003: Remove DisableCompositingQueryAsserts from Interals.cpp (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 10 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 | « no previous file | 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 60619543c27dac76fbb0c2b0e0a11d745c490bdf..eaab2bf5102018a00d5856df6ecd9b69e8eaf33e 100644
--- a/Source/core/testing/Internals.cpp
+++ b/Source/core/testing/Internals.cpp
@@ -484,9 +484,7 @@ void Internals::pauseAnimations(double pauseTime, ExceptionState& exceptionState
return;
}
- // https://code.google.com/p/chromium/issues/detail?id=343760
- DisableCompositingQueryAsserts disabler;
-
+ frame()->view()->updateLayoutAndStyleForPainting();
frame()->document()->timeline()->pauseAnimationsForTesting(pauseTime);
frame()->document()->transitionTimeline()->pauseAnimationsForTesting(pauseTime);
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698