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

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

Issue 2729523002: Re-land^2 WebVR compositor bypass via BrowserMain context + mailbox (Closed)
Patch Set: Created 3 years, 10 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/FrameView.cpp
diff --git a/third_party/WebKit/Source/core/frame/FrameView.cpp b/third_party/WebKit/Source/core/frame/FrameView.cpp
index a2e0bdb3c4ea323c051952daee7ad2c792735159..6e72b3d62d5241e16477cd93c5d080f420601886 100644
--- a/third_party/WebKit/Source/core/frame/FrameView.cpp
+++ b/third_party/WebKit/Source/core/frame/FrameView.cpp
@@ -3049,7 +3049,7 @@ void FrameView::updateLifecyclePhasesInternal(
invalidateTreeIfNeededRecursive();
if (!RuntimeEnabledFeatures::slimmingPaintV2Enabled()) {
- if (view.compositor()->inCompositingMode())
+ if (view.compositor()->inCompositingMode() && isSelfVisible())
scrollingCoordinator()->updateAfterCompositingChangeIfNeeded();
}

Powered by Google App Engine
This is Rietveld 408576698