Index: gfx/gtk_native_view_id_manager.cc |
diff --git a/gfx/gtk_native_view_id_manager.cc b/gfx/gtk_native_view_id_manager.cc |
index 8d9334dbcf2ddbbfafd0c1acc5076549539f6380..904f46ba63b86f4d84582f766f5859530212b195 100644 |
--- a/gfx/gtk_native_view_id_manager.cc |
+++ b/gfx/gtk_native_view_id_manager.cc |
@@ -41,6 +41,11 @@ GtkNativeViewManager::GtkNativeViewManager() { |
GtkNativeViewManager::~GtkNativeViewManager() { |
} |
+// static |
+GtkNativeViewManager* GtkNativeViewManager::GetInstance() { |
+ return Singleton<GtkNativeViewManager>::get(); |
+} |
+ |
gfx::NativeViewId GtkNativeViewManager::GetIdForWidget(gfx::NativeView widget) { |
// This is just for unit tests: |
if (!widget) |