summaryrefslogtreecommitdiff
path: root/indra/newview/llavataractions.cpp
diff options
context:
space:
mode:
authorRichard Linden <none@none>2011-07-12 20:58:30 -0700
committerRichard Linden <none@none>2011-07-12 20:58:30 -0700
commitfa3f4d11665af44234f8e0ae3e8d8c0ce31d356d (patch)
tree475ebb59957a9009b06f16e79a43bf1e122cd56f /indra/newview/llavataractions.cpp
parent7f2ccaae7d7d15f3bdb7e9a4a4a6f19b1aa812e9 (diff)
EXP-880 FIX Enable navigation chrome for Search floater
search floater derives from floater_web_content all web content now uses floater_web_content instead of media_browser
Diffstat (limited to 'indra/newview/llavataractions.cpp')
-rw-r--r--indra/newview/llavataractions.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/indra/newview/llavataractions.cpp b/indra/newview/llavataractions.cpp
index 8344b08bfb..48827676cd 100644
--- a/indra/newview/llavataractions.cpp
+++ b/indra/newview/llavataractions.cpp
@@ -316,7 +316,11 @@ static void on_avatar_name_show_profile(const LLUUID& agent_id, const LLAvatarNa
// PROFILES: open in webkit window
const bool show_chrome = false;
static LLCachedControl<LLRect> profile_rect(gSavedSettings, "WebProfileRect");
- LLFloaterWebContent::create(url, "", agent_id.asString(), show_chrome, profile_rect);
+ LLFloaterWebContent::create(LLFloaterWebContent::Params().
+ url(url).
+ id(agent_id).
+ show_chrome(show_chrome).
+ preferred_media_size(profile_rect));
}
// static