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

Unified Diff: chrome/browser/plugin_process_host.cc

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/browser/plugin_process_host.cc
diff --git a/chrome/browser/plugin_process_host.cc b/chrome/browser/plugin_process_host.cc
index a87fdd623f3947f4fca8bf503329842e9234e933..c6ee524335f12cf3538be054773a77fdd341309c 100644
--- a/chrome/browser/plugin_process_host.cc
+++ b/chrome/browser/plugin_process_host.cc
@@ -87,7 +87,7 @@ void PluginProcessHost::AddWindow(HWND window) {
void PluginProcessHost::OnMapNativeViewId(gfx::NativeViewId id,
gfx::PluginWindowHandle* output) {
*output = 0;
- Singleton<GtkNativeViewManager>()->GetXIDForId(output, id);
+ GtkNativeViewManager::GetInstance()->GetXIDForId(output, id);
}
#endif // defined(TOOLKIT_USES_GTK)

Powered by Google App Engine
This is Rietveld 408576698