From: Taehwan Kim Date: Fri, 24 May 2013 11:32:32 +0000 (+0900) Subject: Revert "Initialize m_orientation of the frame class while creating a frame object." X-Git-Tag: submit/tizen_2.2/20130714.131554~195 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=cc6a2ec6cb02e54263b9de4833198824979cde99;p=framework%2Fweb%2Fwebkit-efl.git Revert "Initialize m_orientation of the frame class while creating a frame object." This reverts commit 116225daabc74300f89177f37c4cec525fa13a75. --- diff --git a/Source/WebCore/page/Frame.cpp b/Source/WebCore/page/Frame.cpp index d0ba92d..80f9dd3 100644 --- a/Source/WebCore/page/Frame.cpp +++ b/Source/WebCore/page/Frame.cpp @@ -201,10 +201,6 @@ inline Frame::Frame(Page* page, HTMLFrameOwnerElement* ownerElement, FrameLoader Frame* parent = parentFromOwnerElement(ownerElement); if (parent && parent->activeDOMObjectsAndAnimationsSuspended()) suspendActiveDOMObjectsAndAnimations(); -#if ENABLE(TIZEN_ORIENTATION_EVENTS) - if (page->mainFrame() != this) - m_orientation = page->mainFrame()->orientation(); -#endif } PassRefPtr Frame::create(Page* page, HTMLFrameOwnerElement* ownerElement, FrameLoaderClient* client)