From: Taejeong Lee Date: Tue, 26 Mar 2013 05:26:08 +0000 (+0900) Subject: Bug fix for getPrivateLocalStoragePath() api. X-Git-Tag: 2.2.1_release~9^2~140 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=65e22ab82edd2756fe8a43da2e07b50e82daabc6;p=framework%2Fweb%2Fwrt-commons.git Bug fix for getPrivateLocalStoragePath() api. [Issue#] N/A [Problem] It refered to incorrect value, TizenAppId. [Cause] N/A [Solution] Changed to refer to TizenPkgId. Change-Id: Ib250247022c2933e2c678fe6e2858ea0fff584d6 --- diff --git a/modules/widget_dao/dao/widget_dao_read_only.cpp b/modules/widget_dao/dao/widget_dao_read_only.cpp index d97416e..f71c542 100755 --- a/modules/widget_dao/dao/widget_dao_read_only.cpp +++ b/modules/widget_dao/dao/widget_dao_read_only.cpp @@ -1080,8 +1080,8 @@ std::string WidgetDAOReadOnly::getCookieDatabasePath() const std::string WidgetDAOReadOnly::getPrivateLocalStoragePath() const { std::ostringstream path; - TizenAppId tzAppId = getTzAppId(); - path << WidgetConfig::GetWidgetWebLocalStoragePath(tzAppId); + TizenAppId tzPkgId = getTizenPkgId(); + path << WidgetConfig::GetWidgetWebLocalStoragePath(tzPkgId); path << "/"; return path.str();