Initialize m_orientation of the frame class while creating a frame object.
authorjinwoo jeong <jw00.jeong@samsung.com>
Thu, 30 May 2013 02:35:07 +0000 (11:35 +0900)
committerGerrit Code Review <gerrit2@kim11>
Thu, 30 May 2013 03:51:42 +0000 (12:51 +0900)
commitb13104eddabd793aa3b1ac049560c563b043d220
tree1695748515f0f62142125479111769def1ad5922
parent74464a5939a263b88507c3fdd36bd7fbfca419c7
Initialize m_orientation of the frame class while creating a frame object.

[Title] Initialize m_orientation of the frame class while creating a frame object.
[Issues#] N/A
[Problem] If a target is on landscape mode while loading, the m_orientation of all frame objects is set to '0'.
[Cause] The m_orientation is initialized as '0' in frame constructor.
[Solution] Initialize m_orientation of the frame obejct as the same value of the mainFrame object.

Change-Id: Ieb8ccff31bca4c9e1d0e1dbfcf7e03c3954d6b28
Source/WebCore/page/Frame.cpp