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

Unified Diff: chrome/browser/ui/webui/web_ui_util.cc

Issue 10165020: Move RefCountedStaticMemory to base namespace (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 8 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
« no previous file with comments | « chrome/browser/ui/webui/shared_resources_data_source.cc ('k') | ui/base/resource/data_pack.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/web_ui_util.cc
===================================================================
--- chrome/browser/ui/webui/web_ui_util.cc (revision 133676)
+++ chrome/browser/ui/webui/web_ui_util.cc (working copy)
@@ -8,6 +8,7 @@
#include "base/base64.h"
#include "base/logging.h"
+#include "base/memory/ref_counted_memory.h"
#include "base/values.h"
#include "chrome/browser/disposition_utils.h"
#include "ui/base/resource/resource_bundle.h"
@@ -28,7 +29,7 @@
std::string GetImageDataUrlFromResource(int res) {
// Load resource icon and covert to base64 encoded data url
- RefCountedStaticMemory* icon_data =
+ base::RefCountedStaticMemory* icon_data =
ResourceBundle::GetSharedInstance().LoadDataResourceBytes(res);
if (!icon_data)
return std::string();
« no previous file with comments | « chrome/browser/ui/webui/shared_resources_data_source.cc ('k') | ui/base/resource/data_pack.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698