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>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, kenneth, leandro, lucas.de.marchi, tonikitoo
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: Linux   
Attachments:
Description Flags
Proposed Patch none

Gyuyoung Kim
Reported 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).
Attachments
Proposed Patch (1.75 KB, patch)
2011-05-04 02:45 PDT, Gyuyoung Kim
no flags
Gyuyoung Kim
Comment 1 2011-05-04 02:45:52 PDT
Created attachment 92206 [details] Proposed Patch
WebKit Commit Bot
Comment 2 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>
WebKit Commit Bot
Comment 3 2011-05-04 06:26:04 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.