summaryrefslogtreecommitdiffstats
path: root/gfx/layers/ipc/CompositorBridgeParent.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/layers/ipc/CompositorBridgeParent.cpp')
-rw-r--r--gfx/layers/ipc/CompositorBridgeParent.cpp15
1 files changed, 0 insertions, 15 deletions
diff --git a/gfx/layers/ipc/CompositorBridgeParent.cpp b/gfx/layers/ipc/CompositorBridgeParent.cpp
index e6bf2d991..25ac10130 100644
--- a/gfx/layers/ipc/CompositorBridgeParent.cpp
+++ b/gfx/layers/ipc/CompositorBridgeParent.cpp
@@ -369,16 +369,6 @@ CompositorVsyncScheduler::ScheduleComposition()
if (mAsapScheduling) {
// Used only for performance testing purposes
PostCompositeTask(TimeStamp::Now());
-#ifdef MOZ_WIDGET_ANDROID
- } else if (mNeedsComposite >= 2 && mIsObservingVsync) {
- // uh-oh, we already requested a composite at least twice so far, and a
- // composite hasn't happened yet. It is possible that the vsync observation
- // is blocked on the main thread, so let's just composite ASAP and not
- // wait for the vsync. Note that this should only ever happen on Fennec
- // because there content runs in the same process as the compositor, and so
- // content can actually block the main thread in this process.
- PostCompositeTask(TimeStamp::Now());
-#endif
} else {
SetNeedsComposite();
}
@@ -953,11 +943,6 @@ CompositorBridgeParent::ResumeComposition()
MonitorAutoLock lock(mResumeCompositionMonitor);
if (!mCompositor->Resume()) {
-#ifdef MOZ_WIDGET_ANDROID
- // We can't get a surface. This could be because the activity changed between
- // the time resume was scheduled and now.
- __android_log_print(ANDROID_LOG_INFO, "CompositorBridgeParent", "Unable to renew compositor surface; remaining in paused state");
-#endif
lock.NotifyAll();
return;
}