~osomon/webbrowser-app/black-captures

Viewing all changes in revision 1011.

  • Committer: Olivier Tilloy
  • Date: 2015-05-14 15:13:16 UTC
  • Revision ID: olivier.tilloy@canonical.com-20150514151316-zb3024l1eg50pus6
Do not request a capture of a webview once it has become invisible.
In the best case this is racy, and most of the times an entirely black image is returned because the compositor and current buffer have already been discarded.
Instead, request an updated capture when a load succeeds.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: