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

Unified Diff: extensions/browser/content_hash_tree.cc

Issue 2236443003: extensions: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Don't add braces Created 4 years, 4 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
« no previous file with comments | « extensions/browser/computed_hashes.cc ('k') | extensions/browser/content_hash_tree_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: extensions/browser/content_hash_tree.cc
diff --git a/extensions/browser/content_hash_tree.cc b/extensions/browser/content_hash_tree.cc
index 8abbf6fd9f1ae8288275c3da6b5961017b943b58..e1298cf4ca07a64b463b3d8d1e8f1f55b93a157b 100644
--- a/extensions/browser/content_hash_tree.cc
+++ b/extensions/browser/content_hash_tree.cc
@@ -42,7 +42,7 @@ std::string ComputeTreeHashRoot(const std::vector<std::string>& leaf_hashes,
}
parent_nodes.push_back(std::string(crypto::kSHA256Length, 0));
std::string* output = &(parent_nodes.back());
- hash->Finish(string_as_array(output), output->size());
+ hash->Finish(base::string_as_array(output), output->size());
}
current_nodes.swap(parent_nodes);
parent_nodes.clear();
« no previous file with comments | « extensions/browser/computed_hashes.cc ('k') | extensions/browser/content_hash_tree_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698