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

Unified Diff: third_party/WebKit/Source/web/WebViewImpl.cpp

Issue 2791223002: Notify Blink to suppress frame requests during BeginMainFrame (Closed)
Patch Set: +willBeginMainFrameBasedSuppression Created 3 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
Index: third_party/WebKit/Source/web/WebViewImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebViewImpl.cpp b/third_party/WebKit/Source/web/WebViewImpl.cpp
index dad2df3e4b2a54df47fbca1521b314aa31998885..444dc133814899cb290b306f8ba596c9dd08e2a5 100644
--- a/third_party/WebKit/Source/web/WebViewImpl.cpp
+++ b/third_party/WebKit/Source/web/WebViewImpl.cpp
@@ -1999,6 +1999,11 @@ void WebViewImpl::didUpdateFullscreenSize() {
m_fullscreenController->updateSize();
}
+void WebViewImpl::setSuppressFrameRequestsWorkaroundFor704763Only(
+ bool suppressFrameRequests) {
+ m_page->animator().setSuppressFrameRequestsWorkaroundFor704763Only(
+ suppressFrameRequests);
+}
void WebViewImpl::beginFrame(double lastFrameTimeMonotonic) {
TRACE_EVENT1("blink", "WebViewImpl::beginFrame", "frameTime",
lastFrameTimeMonotonic);

Powered by Google App Engine
This is Rietveld 408576698