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

Unified Diff: chrome/browser/extensions/extension_protocols.cc

Issue 16295003: Update chrome/ to use scoped_refptr<T>::get() rather than implicit "operator T*" (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased Created 7 years, 7 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
Index: chrome/browser/extensions/extension_protocols.cc
diff --git a/chrome/browser/extensions/extension_protocols.cc b/chrome/browser/extensions/extension_protocols.cc
index 3ecbc36960c901fc103e7e67ce6ac86e8153f65b..e84e305fec65a715a513b4351d4afcf06ed1bd82 100644
--- a/chrome/browser/extensions/extension_protocols.cc
+++ b/chrome/browser/extensions/extension_protocols.cc
@@ -176,7 +176,7 @@ class GeneratedBackgroundPageJob : public net::URLRequestSimpleJob {
*data = "<!DOCTYPE html>\n<body>\n";
const std::vector<std::string>& background_scripts =
- extensions::BackgroundInfo::GetBackgroundScripts(extension_);
+ extensions::BackgroundInfo::GetBackgroundScripts(extension_.get());
for (size_t i = 0; i < background_scripts.size(); ++i) {
*data += "<script src=\"";
*data += background_scripts[i];
« no previous file with comments | « chrome/browser/extensions/extension_prefs_unittest.cc ('k') | chrome/browser/extensions/extension_protocols_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698