| OLD | NEW | 
|   1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |   1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 
|   2 // Use of this source code is governed by a BSD-style license that can be |   2 // Use of this source code is governed by a BSD-style license that can be | 
|   3 // found in the LICENSE file. |   3 // found in the LICENSE file. | 
|   4  |   4  | 
|   5 #include "gfx/native_widget_types.h" |   5 #include "gfx/native_widget_types.h" | 
|   6  |   6  | 
|   7 #include "gfx/gtk_native_view_id_manager.h" |   7 #include "gfx/gtk_native_view_id_manager.h" | 
|   8  |   8  | 
|   9 namespace gfx { |   9 namespace gfx { | 
|  10  |  10  | 
|  11 NativeViewId IdFromNativeView(NativeView view) { |  11 NativeViewId IdFromNativeView(NativeView view) { | 
|  12   return Singleton<GtkNativeViewManager>()->GetIdForWidget(view); |  12   return GtkNativeViewManager::GetInstance()->GetIdForWidget(view); | 
|  13 } |  13 } | 
|  14  |  14  | 
|  15 }  // namespace gfx |  15 }  // namespace gfx | 
| OLD | NEW |