Bug 60147 - [EFL] Initialize viewport argument in ewk_view.cpp
Summary: [EFL] Initialize viewport argument in ewk_view.cpp
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit EFL (show other bugs)
Version: 528+ (Nightly build)
Hardware: PC Linux
: P2 Normal
Assignee: Gyuyoung Kim
Depends on:
Reported: 2011-05-04 02:24 PDT by Gyuyoung Kim
Modified: 2011-05-04 06:26 PDT (History)
5 users (show)

See Also:

Proposed Patch (1.75 KB, patch)
2011-05-04 02:45 PDT, Gyuyoung Kim
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.