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

Unified Diff: chrome/browser/printing/print_preview_data_service.cc

Issue 2230203002: chrome: Use stl utilities from the base namespace (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Removed accidental components/ change 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 | « chrome/browser/printing/background_printing_manager.cc ('k') | chrome/browser/process_singleton_posix.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/printing/print_preview_data_service.cc
diff --git a/chrome/browser/printing/print_preview_data_service.cc b/chrome/browser/printing/print_preview_data_service.cc
index ab8169504eaa5233a207a4ec1cca8b47646d67ad..4f6c1e94447ea0b1828dd2f1df300cfc06d3a277 100644
--- a/chrome/browser/printing/print_preview_data_service.cc
+++ b/chrome/browser/printing/print_preview_data_service.cc
@@ -52,7 +52,8 @@ class PrintPreviewDataStore : public base::RefCounted<PrintPreviewDataStore> {
// Returns the available draft page count.
int GetAvailableDraftPageCount() {
int page_data_map_size = page_data_map_.size();
- if (ContainsKey(page_data_map_, printing::COMPLETE_PREVIEW_DOCUMENT_INDEX))
+ if (base::ContainsKey(page_data_map_,
+ printing::COMPLETE_PREVIEW_DOCUMENT_INDEX))
page_data_map_size--;
return page_data_map_size;
}
@@ -105,7 +106,7 @@ void PrintPreviewDataService::SetDataEntry(
int32_t preview_ui_id,
int index,
scoped_refptr<base::RefCountedBytes> data_bytes) {
- if (!ContainsKey(data_store_map_, preview_ui_id)) {
+ if (!base::ContainsKey(data_store_map_, preview_ui_id)) {
data_store_map_[preview_ui_id] =
make_scoped_refptr(new PrintPreviewDataStore());
}
« no previous file with comments | « chrome/browser/printing/background_printing_manager.cc ('k') | chrome/browser/process_singleton_posix.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698