diff options
author | Monroe Linden <monroe@lindenlab.com> | 2009-11-09 17:11:13 -0800 |
---|---|---|
committer | Monroe Linden <monroe@lindenlab.com> | 2009-11-09 17:11:13 -0800 |
commit | 312e7d21a4d4996460e84aca478691ac0a4828ea (patch) | |
tree | 57cbcac36a17a8f2d06ae21c34d8615a7fdaa473 /indra/newview/llviewermedia.h | |
parent | caadf0be39b844e6bf91c5a302a837d107a1e415 (diff) |
Refinement to my previous commit:
Created LLViewerMediaImpl::unload(), which unloads the media and clears internal state (such as the last-navigated URL) to keep it from getting reloaded.
LLViewerMedia::updateMediaImpl() now calls unload() on the impl instead of just using destroyMediaSource().
Diffstat (limited to 'indra/newview/llviewermedia.h')
-rw-r--r-- | indra/newview/llviewermedia.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/indra/newview/llviewermedia.h b/indra/newview/llviewermedia.h index 4cb0817735..7cbfb56ffc 100644 --- a/indra/newview/llviewermedia.h +++ b/indra/newview/llviewermedia.h @@ -165,6 +165,7 @@ public: void navigateForward(); void navigateReload(); void navigateHome(); + void unload(); void navigateTo(const std::string& url, const std::string& mime_type = "", bool rediscover_type = false, bool server_request = false); void navigateInternal(); void navigateStop(); |