summaryrefslogtreecommitdiffstats
path: root/gfx/gtk_native_view_id_manager.cc
diff options
context:
space:
mode:
Diffstat (limited to 'gfx/gtk_native_view_id_manager.cc')
-rw-r--r--gfx/gtk_native_view_id_manager.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/gfx/gtk_native_view_id_manager.cc b/gfx/gtk_native_view_id_manager.cc
index 8d9334d..904f46b 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)