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

Unified Diff: content/browser/gpu/gpu_process_host_ui_shim.cc

Issue 1097223002: Mac: Fix black flashing during tab switch (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Wait for swap to draw frames Created 5 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
« no previous file with comments | « content/browser/compositor/test/no_transport_image_transport_factory.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/gpu/gpu_process_host_ui_shim.cc
diff --git a/content/browser/gpu/gpu_process_host_ui_shim.cc b/content/browser/gpu/gpu_process_host_ui_shim.cc
index bafd0495083e5dd392c1802d6d61d490bafdd1a4..1df45fc83965bf1e32eed7c3e3797ec5967738fd 100644
--- a/content/browser/gpu/gpu_process_host_ui_shim.cc
+++ b/content/browser/gpu/gpu_process_host_ui_shim.cc
@@ -288,7 +288,7 @@ void GpuProcessHostUIShim::OnAcceleratedSurfaceBuffersSwapped(
// it to the GPU process immediately, so we can proceed to the next frame.
bool should_not_show_frame =
content::ImageTransportFactory::GetInstance()
- ->SurfaceShouldNotShowFramesAfterRecycle(params.surface_id);
+ ->SurfaceShouldNotShowFramesAfterSuspendForRecycle(params.surface_id);
if (should_not_show_frame) {
OnSurfaceDisplayedCallback(params.surface_id);
} else {
« no previous file with comments | « content/browser/compositor/test/no_transport_image_transport_factory.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698