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

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

Issue 2813543003: Notify Blink to suppress frame requests during BeginMainFrame (Closed)
Patch Set: Created 3 years, 8 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/WebFrameWidgetImpl.cpp
diff --git a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
index 8a1e33f315a98157b4d0d7588683023c9501b8fa..293694f4d24d4915a345b7e5c774cb26e51b23ca 100644
--- a/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
+++ b/third_party/WebKit/Source/web/WebFrameWidgetImpl.cpp
@@ -226,6 +226,11 @@ void WebFrameWidgetImpl::didExitFullscreen() {
view()->didExitFullscreen();
}
+void WebFrameWidgetImpl::setSuppressFrameRequestsWorkaroundFor704763Only(
+ bool suppressFrameRequests) {
+ page()->animator().setSuppressFrameRequestsWorkaroundFor704763Only(
+ suppressFrameRequests);
+}
void WebFrameWidgetImpl::beginFrame(double lastFrameTimeMonotonic) {
TRACE_EVENT1("blink", "WebFrameWidgetImpl::beginFrame", "frameTime",
lastFrameTimeMonotonic);
« no previous file with comments | « third_party/WebKit/Source/web/WebFrameWidgetImpl.h ('k') | third_party/WebKit/Source/web/WebPagePopupImpl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698