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

Unified Diff: third_party/WebKit/Source/web/WebPagePopupImpl.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/WebPagePopupImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
index 8fd0d07d8f9921178bd3ce5930ba2d1339a58142..29a922cb6f41af1b018d6d5d399f38a049c9e7c6 100644
--- a/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
+++ b/third_party/WebKit/Source/web/WebPagePopupImpl.cpp
@@ -395,6 +395,11 @@ void WebPagePopupImpl::initializeLayerTreeView() {
}
}
+void WebPagePopupImpl::setSuppressFrameRequestsWorkaroundFor704763Only(
+ bool suppressFrameRequests) {
esprehn 2017/04/04 06:13:55 I think you need to null check the page just like
alancutter (OOO until 2018) 2017/04/04 09:54:31 Ty, done.
+ m_page->animator().setSuppressFrameRequestsWorkaroundFor704763Only(
+ suppressFrameRequests);
+}
void WebPagePopupImpl::beginFrame(double lastFrameTimeMonotonic) {
if (!m_page)
return;

Powered by Google App Engine
This is Rietveld 408576698