diff options
Diffstat (limited to 'chrome/browser/browser_main.cc')
-rw-r--r-- | chrome/browser/browser_main.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/chrome/browser/browser_main.cc b/chrome/browser/browser_main.cc index 5bc0e9b..91973ba 100644 --- a/chrome/browser/browser_main.cc +++ b/chrome/browser/browser_main.cc @@ -117,11 +117,11 @@ base::LazyInstance<LazyDirectoryListerCacher> lazy_dir_lister( base::LINKER_INITIALIZED); // This is called indirectly by the network layer to access resources. -StringPiece NetResourceProvider(int key) { +std::string NetResourceProvider(int key) { if (IDR_DIR_HEADER_HTML == key) - return StringPiece(lazy_dir_lister.Pointer()->html_data); + return lazy_dir_lister.Pointer()->html_data; - return ResourceBundle::GetSharedInstance().GetRawDataResource(key); + return ResourceBundle::GetSharedInstance().GetDataResource(key); } // Displays a warning message if the user is running chrome on windows 2000. |