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

Unified Diff: views/widget/widget_gtk.cc

Issue 5734002: Continuation of CL 5685007, rename the singleton accessor method in more files. (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
« chrome/browser/chromeos/wm_ipc.cc ('K') | « chrome/browser/ui/browser_init.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: views/widget/widget_gtk.cc
diff --git a/views/widget/widget_gtk.cc b/views/widget/widget_gtk.cc
index b56a03df0631a321ec1dc5c65843029eac8ea00a..6520fea59a1d8c945bf3166bbb9ef300a399a1b5 100644
--- a/views/widget/widget_gtk.cc
+++ b/views/widget/widget_gtk.cc
@@ -131,7 +131,7 @@ class WidgetGtk::DropObserver : public MessageLoopForUI::Observer {
public:
DropObserver() {}
- static DropObserver* Get() {
+ static DropObserver* GetInstance() {
return Singleton<DropObserver>::get();
}
@@ -253,7 +253,7 @@ WidgetGtk::WidgetGtk(Type type)
installed_message_loop_observer = true;
MessageLoopForUI* loop = MessageLoopForUI::current();
if (loop)
- loop->AddObserver(DropObserver::Get());
+ loop->AddObserver(DropObserver::GetInstance());
}
if (type_ != TYPE_CHILD)
« chrome/browser/chromeos/wm_ipc.cc ('K') | « chrome/browser/ui/browser_init.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698