summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--webkit/quota/quota_manager.cc2
-rw-r--r--webkit/quota/quota_manager_unittest.cc4
2 files changed, 3 insertions, 3 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),
diff --git a/webkit/quota/quota_manager_unittest.cc b/webkit/quota/quota_manager_unittest.cc
index b3d71e4..54f74dd 100644
--- a/webkit/quota/quota_manager_unittest.cc
+++ b/webkit/quota/quota_manager_unittest.cc
@@ -895,10 +895,10 @@ TEST_F(QuotaManagerTest, GetAndSetPerststentHostQuota) {
GetPersistentHostQuota("foo.com");
SetPersistentHostQuota("foo.com", 200);
GetPersistentHostQuota("foo.com");
- SetPersistentHostQuota("foo.com", 300);
+ SetPersistentHostQuota("foo.com", 300000000000ll);
GetPersistentHostQuota("foo.com");
MessageLoop::current()->RunAllPending();
- EXPECT_EQ(300, quota());
+ EXPECT_EQ(300000000000ll, quota());
}
TEST_F(QuotaManagerTest, GetAndSetPersistentUsageAndQuota) {