Index: extensions/browser/api/storage/settings_storage_quota_enforcer.cc |
diff --git a/extensions/browser/api/storage/settings_storage_quota_enforcer.cc b/extensions/browser/api/storage/settings_storage_quota_enforcer.cc |
index e448a5d0a2c91ae8253f0d20c745089c632c5752..1fbcbbdc66463d05bdc88a848cb939116d44f107 100644 |
--- a/extensions/browser/api/storage/settings_storage_quota_enforcer.cc |
+++ b/extensions/browser/api/storage/settings_storage_quota_enforcer.cc |
@@ -38,7 +38,7 @@ void Allocate( |
// TODO(kalman): This is duplicating work that the leveldb delegate |
// implementation is about to do, and it would be nice to avoid this. |
std::string value_as_json; |
- base::JSONWriter::Write(&value, &value_as_json); |
+ base::JSONWriter::Write(value, &value_as_json); |
size_t new_size = key.size() + value_as_json.size(); |
size_t existing_size = (*used_per_setting)[key]; |