Bug 60147

Summary: [EFL] Initialize viewport argument in ewk_view.cpp
Product: WebKit Reporter: Gyuyoung Kim <gyuyoung.kim>
Component: WebKit EFLAssignee: Gyuyoung Kim <gyuyoung.kim>
Severity: Normal CC: commit-queue, kenneth, leandro, lucas.de.marchi, tonikitoo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Description Flags
Proposed Patch none

Description Gyuyoung Kim 2011-05-04 02:24:49 PDT
In _Ewk_View_Private_Data struct, viewport_arguments variable is defined. However, the viewport_arguments values are set to 0 because this structure is created by calloc(). So,  if application invokes ewk_view_viewport_attributes_get() first without viewport meta tag, the ewk_view_viewport_attributes_get() returns wrong viewport values because viewport attributes values are set 0 instead of -1(ValueAuto).
Comment 1 Gyuyoung Kim 2011-05-04 02:45:52 PDT
Created attachment 92206 [details]
Proposed Patch
Comment 2 WebKit Commit Bot 2011-05-04 06:25:59 PDT
Comment on attachment 92206 [details]
Proposed Patch

Clearing flags on attachment: 92206

Committed r85741: <http://trac.webkit.org/changeset/85741>
Comment 3 WebKit Commit Bot 2011-05-04 06:26:04 PDT
All reviewed patches have been landed.  Closing bug.