Store the rotation required to correct the sample for view instead of the sensor orientation.
Created attachment 306504 [details] Proposed patch.
<rdar://problem/31501643>
Comment on attachment 306504 [details] Proposed patch. Clearing flags on attachment: 306504 Committed r215099: <http://trac.webkit.org/changeset/215099>
All reviewed patches have been landed. Closing bug.