summaryrefslogtreecommitdiff
path: root/indra/newview/llrootview.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llrootview.h')
-rw-r--r--indra/newview/llrootview.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/indra/newview/llrootview.h b/indra/newview/llrootview.h
index af9517f922..f704fecddd 100644
--- a/indra/newview/llrootview.h
+++ b/indra/newview/llrootview.h
@@ -36,20 +36,16 @@
#include "llview.h"
#include "lluictrlfactory.h"
-class LLRootViewRegistry : public LLWidgetRegistry<LLRootViewRegistry>
+class LLRootViewRegistry : public LLChildRegistry<LLRootViewRegistry>
{};
class LLRootView : public LLView
{
public:
+ typedef LLRootViewRegistry child_registry_t;
+
LLRootView(const Params& p)
: LLView(p)
{}
-
- const widget_registry_t& getChildRegistry() const
- {
- // use default widget registry
- return LLRootViewRegistry::instance();
- }
};
#endif //LL_LLROOTVIEW_H