Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(488)

Unified Diff: webkit/quota/quota_manager_unittest.cc

Issue 8528021: Revert 109855 - Fix quota value overflow. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 9 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « webkit/quota/quota_manager.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/quota/quota_manager_unittest.cc
===================================================================
--- webkit/quota/quota_manager_unittest.cc (revision 109855)
+++ webkit/quota/quota_manager_unittest.cc (working copy)
@@ -895,10 +895,10 @@
GetPersistentHostQuota("foo.com");
SetPersistentHostQuota("foo.com", 200);
GetPersistentHostQuota("foo.com");
- SetPersistentHostQuota("foo.com", 300000000000);
+ SetPersistentHostQuota("foo.com", 300);
GetPersistentHostQuota("foo.com");
MessageLoop::current()->RunAllPending();
- EXPECT_EQ(300000000000, quota());
+ EXPECT_EQ(300, quota());
}
TEST_F(QuotaManagerTest, GetAndSetPersistentUsageAndQuota) {
« no previous file with comments | « webkit/quota/quota_manager.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698