[webkit-reviews] review requested: [Bug 62863] In QWebFrame, m_orientation is started but never stopped : [Attachment 97600] Call stop() on the m_orientation sensor object when window is deactivated to prevent battery consumption

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jun 17 07:51:35 PDT 2011


Fabrizio <fabrizio.machado at nokia.com> has asked  for review:
Bug 62863: In QWebFrame, m_orientation is started but never stopped
https://bugs.webkit.org/show_bug.cgi?id=62863

Attachment 97600: Call stop() on the m_orientation sensor object when window is
deactivated to prevent battery consumption
https://bugs.webkit.org/attachment.cgi?id=97600&action=review

------- Additional Comments from Fabrizio <fabrizio.machado at nokia.com>
Address power consumption by calling stop on m_orientation sensor object when
QEvent::WindowDeactivate is received.

Also resume sensor when QEvent::WindowActivate is received by calling start().


More information about the webkit-reviews mailing list