[Bug 434476]
Karlt
434476 at bugs.launchpad.net
Mon May 19 02:19:32 UTC 2014
Comment on attachment 8424521
Implement WakeLockListener on Linux to disable screensaver while video is playing
>+nsCOMPtr<nsIDOMMozWakeLockListener> WakeLockListener::sSingleton =
nullptr;
AFAIK compilers are not clever enough to avoid running a constructor for this
at startup, and so this should be avoided (comment 12 and comment 14). It
will be used soon after startup anyway, but I don't know the details on how
the different reads benefit from read-ahead. There are people who have worked
hard to remove similar variables, so let's not add one here. I guess
either StaticRefPtr or manual ref counting can be used.
--
You received this bug notification because you are a member of Mozilla
Bugs, which is subscribed to Mozilla Firefox.
https://bugs.launchpad.net/bugs/434476
Title:
screensaver starts while playing HTML5 videos
To manage notifications about this bug go to:
https://bugs.launchpad.net/firefox/+bug/434476/+subscriptions
More information about the Ubuntu-mozillateam-bugs
mailing list