diff options
author | Mm Alder | 2010-01-03 14:40:37 -0500 |
---|---|---|
committer | Mm Alder | 2010-01-03 14:40:37 -0500 |
commit | c17d74a59f10ad1fb9f9a7da2811688ff2944afa (patch) | |
tree | 156166a6ab955287780bb60c21238df5876b6e73 /linden/indra/newview/llwebbrowserctrl.cpp | |
parent | VWR-14475 Load from XML is broken (diff) | |
download | meta-impy-c17d74a59f10ad1fb9f9a7da2811688ff2944afa.zip meta-impy-c17d74a59f10ad1fb9f9a7da2811688ff2944afa.tar.gz meta-impy-c17d74a59f10ad1fb9f9a7da2811688ff2944afa.tar.bz2 meta-impy-c17d74a59f10ad1fb9f9a7da2811688ff2944afa.tar.xz |
VWR-15310 Save to XML doesn't set proper XML tags
Diffstat (limited to 'linden/indra/newview/llwebbrowserctrl.cpp')
-rw-r--r-- | linden/indra/newview/llwebbrowserctrl.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/linden/indra/newview/llwebbrowserctrl.cpp b/linden/indra/newview/llwebbrowserctrl.cpp index 89cb62b..453b9d2 100644 --- a/linden/indra/newview/llwebbrowserctrl.cpp +++ b/linden/indra/newview/llwebbrowserctrl.cpp | |||
@@ -1012,6 +1012,16 @@ void LLWebBrowserTexture::resize( S32 new_width, S32 new_height ) | |||
1012 | mLastBrowserDepth = media_depth; | 1012 | mLastBrowserDepth = media_depth; |
1013 | } | 1013 | } |
1014 | 1014 | ||
1015 | // virtual | ||
1016 | LLXMLNodePtr LLWebBrowserCtrl::getXML(bool save_children) const | ||
1017 | { | ||
1018 | LLXMLNodePtr node = LLUICtrl::getXML(); | ||
1019 | |||
1020 | node->setName(LL_WEB_BROWSER_CTRL_TAG); | ||
1021 | |||
1022 | return node; | ||
1023 | } | ||
1024 | |||
1015 | LLView* LLWebBrowserCtrl::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) | 1025 | LLView* LLWebBrowserCtrl::fromXML(LLXMLNodePtr node, LLView *parent, LLUICtrlFactory *factory) |
1016 | { | 1026 | { |
1017 | std::string name("web_browser"); | 1027 | std::string name("web_browser"); |