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

Unified Diff: third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp

Issue 1367023002: Replace timeout argument with IdleRequestOptions in requestIdleCallback. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@rIC_histograms
Patch Set: Created 5 years, 3 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
Index: third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp
diff --git a/third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp b/third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp
index 29f8953940faa645e982cf07dc9a7daa591f14d4..56bacf32161ba1806ae29b2b4f39a391f920e848 100644
--- a/third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp
+++ b/third_party/WebKit/Source/core/frame/RemoteDOMWindow.cpp
@@ -328,7 +328,7 @@ void RemoteDOMWindow::cancelAnimationFrame(int id)
ASSERT_NOT_REACHED();
}
-int RemoteDOMWindow::requestIdleCallback(IdleRequestCallback*, double timeoutMillis)
+int RemoteDOMWindow::requestIdleCallback(IdleRequestCallback*, const IdleRequestOptions&)
{
ASSERT_NOT_REACHED();
return 0;
« no previous file with comments | « third_party/WebKit/Source/core/frame/RemoteDOMWindow.h ('k') | third_party/WebKit/Source/core/frame/Window.idl » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698