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

Unified Diff: chrome_frame/simple_resource_loader.h

Issue 5581008: Add a new GetInstance() method for singleton classes, take 2. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 10 years 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_frame/simple_resource_loader.h
diff --git a/chrome_frame/simple_resource_loader.h b/chrome_frame/simple_resource_loader.h
index c7490524415a76ff8a090fafdcc9a6be85d66ec5..45d03ed90092128f74b5cef136f8a23c060ae1a9 100644
--- a/chrome_frame/simple_resource_loader.h
+++ b/chrome_frame/simple_resource_loader.h
@@ -21,9 +21,7 @@
class SimpleResourceLoader {
public:
- static SimpleResourceLoader* instance() {
- return Singleton<SimpleResourceLoader>::get();
- }
+ static SimpleResourceLoader* instance();
// Returns the language tag for the active language.
static std::wstring GetLanguage();

Powered by Google App Engine
This is Rietveld 408576698