Remove unnecessary rotation callback
authorSeonae Kim <sunaeluv.kim@samsung.com>
Mon, 22 Apr 2013 11:55:55 +0000 (20:55 +0900)
committerGerrit Code Review <gerrit2@kim11>
Tue, 23 Apr 2013 07:49:55 +0000 (16:49 +0900)
commita6b8075d96ad7bce380159795009fc9d89869e4d
tree775adcbc2974d2c2de66f075dc60d3b3dab4c7f2
parent1f211b7ebd6d6c4662595b6bcb248156598c3b1b
Remove unnecessary rotation callback

[Title] Remove unnecessary rotation callback
[Issue] N_SE-35415, N_SE-34964, N_SE-35637
[Problem] 1. Lock-up sometimes appears.
       2. When rotated the device, the screen is abnormal.
[Cause] 1. A rotation callback using sensor apis is continously called.
      2. When entered to horizontal fullscreen, a rotation variable is not updated.
[Solution] 1. Removed the code according to rotation
       2. Changed to use the width and height of device not m_rotation

Change-Id: I8639a20811103c10e3bf9bc63aec6a9542a23370
Source/WTF/wtf/Platform.h
Source/WebCore/html/HTMLMediaElement.cpp
Source/WebCore/html/HTMLMediaElement.h
Source/WebCore/html/shadow/MediaControlElements.cpp
Source/WebCore/html/shadow/MediaControlRootElement.cpp