
Before change I13f2d6ab94 AccountCache could be used out of the request scope. Using Provider<ReviewDb> in ByNameReviewDbLoader class implicitly add new constraint on AccountCache, namely it must be used in request scope. Injecting SchemaFactory<ReviewDb> instead of Provider fixes this regression. Change-Id: I398e02cb138302cd99a2fb68fadcc4d6c6176395 Signed-off-by: Dariusz Luksza <dluksza@collab.net>