summaryrefslogtreecommitdiffstats
path: root/webkit/quota/quota_manager.cc
diff options
context:
space:
mode:
authortzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-14 10:10:43 +0000
committertzik@chromium.org <tzik@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-14 10:10:43 +0000
commitc5f9af29edd463d16c78d46f5d796498b5484122 (patch)
tree0a514ebd957f1a1780c35408bdc8901b97fda3b8 /webkit/quota/quota_manager.cc
parentf91933757e661da584e94c4c653b8bbd605d4c20 (diff)
downloadchromium_src-c5f9af29edd463d16c78d46f5d796498b5484122.zip
chromium_src-c5f9af29edd463d16c78d46f5d796498b5484122.tar.gz
chromium_src-c5f9af29edd463d16c78d46f5d796498b5484122.tar.bz2
Fix quota value overflow.
BUG=104111 TEST='QuotaManagerTest.*' Review URL: http://codereview.chromium.org/8560007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@109855 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/quota/quota_manager.cc')
-rw-r--r--webkit/quota/quota_manager.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/quota/quota_manager.cc b/webkit/quota/quota_manager.cc
index 655dade..433e975 100644
--- a/webkit/quota/quota_manager.cc
+++ b/webkit/quota/quota_manager.cc
@@ -755,7 +755,7 @@ class QuotaManager::UpdatePersistentHostQuotaTask
UpdatePersistentHostQuotaTask(
QuotaManager* manager,
const std::string& host,
- int new_quota,
+ int64 new_quota,
const HostQuotaCallback& callback)
: DatabaseTaskBase(manager),
host_(host),