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

Unified Diff: sky/engine/web/WebDocument.cpp

Issue 1020053002: Remove pauseAnimationsForTesting (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 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 | « sky/engine/public/web/WebDocument.h ('k') | sky/viewer/internals.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sky/engine/web/WebDocument.cpp
diff --git a/sky/engine/web/WebDocument.cpp b/sky/engine/web/WebDocument.cpp
index 0d3a7f9d9135c6704df0ee898d924133a345c4e3..867010e48e881c101ffcde46ce16c3f479567171 100644
--- a/sky/engine/web/WebDocument.cpp
+++ b/sky/engine/web/WebDocument.cpp
@@ -112,11 +112,6 @@ WebElement WebDocument::createElement(const WebString& tagName)
return element;
}
-void WebDocument::pauseAnimationsForTesting(double pauseTime) const {
- constUnwrap<Document>()->frame()->view()->updateLayoutAndStyleForPainting();
- constUnwrap<Document>()->timeline().pauseAnimationsForTesting(pauseTime);
-}
-
WebDocument::WebDocument(const PassRefPtr<Document>& elem)
: WebNode(elem)
{
« no previous file with comments | « sky/engine/public/web/WebDocument.h ('k') | sky/viewer/internals.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698