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

Unified Diff: gpu/perftests/texture_upload_perftest.cc

Issue 2825853002: Improvements to uses of base::SmallMap (Closed)
Patch Set: Created 3 years, 8 months 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
Index: gpu/perftests/texture_upload_perftest.cc
diff --git a/gpu/perftests/texture_upload_perftest.cc b/gpu/perftests/texture_upload_perftest.cc
index b562f3f3694302d7f819d04e37b47bb0538889c5..5163ef48e53dbf639dfbaab6b724aface7c5eb00 100644
--- a/gpu/perftests/texture_upload_perftest.cc
+++ b/gpu/perftests/texture_upload_perftest.cc
@@ -401,7 +401,7 @@ class TextureUploadPerfTest : public testing::Test {
const GLenum format,
const bool subimage) {
std::vector<uint8_t> pixels;
- base::SmallMap<std::map<std::string, Measurement>>
+ base::small_map<std::map<std::string, Measurement>>
danakj 2017/04/18 21:35:50 Seems overkill to use small_map in test code like
aggregates; // indexed by name
int successful_runs = 0;
GLuint texture_id = CreateGLTexture(format, size, subimage);

Powered by Google App Engine
This is Rietveld 408576698