Index: net/disk_cache/v3/backend_impl_v3.cc |
diff --git a/net/disk_cache/v3/backend_impl_v3.cc b/net/disk_cache/v3/backend_impl_v3.cc |
index 7c85584726906a19947535fc5ab2dbc223e0e0b2..7b1655ba8200c58a67a475038420e19d380740c0 100644 |
--- a/net/disk_cache/v3/backend_impl_v3.cc |
+++ b/net/disk_cache/v3/backend_impl_v3.cc |
@@ -30,8 +30,9 @@ |
#include "net/disk_cache/v3/entry_impl_v3.h" |
#include "net/disk_cache/v3/index_table.h" |
-// This has to be defined before including histogram_macros.h from this file. |
-#define NET_DISK_CACHE_BACKEND_IMPL_CC_ |
+// Define BLOCKFILE_BACKEND_IMPL_OBJ to be a disk_cache::BackendImpl* in order |
+// to use the CACHE_UMA histogram macro. |
+#define BLOCKFILE_BACKEND_IMPL_OBJ this |
#include "net/disk_cache/v3/histogram_macros.h" |
using base::Time; |