summaryrefslogtreecommitdiffstats
path: root/chrome/browser/ui
diff options
context:
space:
mode:
authorscottfr@chromium.org <scottfr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-14 01:32:06 +0000
committerscottfr@chromium.org <scottfr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-07-14 01:32:06 +0000
commit79b44d53a743e3d2f96a786e68b3fda98485de28 (patch)
tree7504880fd4a38a5181dbbfd62e48cb961ae7f85d /chrome/browser/ui
parentf97defad43f1ad4bf852eb6d92b4ec77ab03bdcb (diff)
downloadchromium_src-79b44d53a743e3d2f96a786e68b3fda98485de28.zip
chromium_src-79b44d53a743e3d2f96a786e68b3fda98485de28.tar.gz
chromium_src-79b44d53a743e3d2f96a786e68b3fda98485de28.tar.bz2
Make MediaInternals NonThreadSafe.
BUG=none TEST=none Review URL: http://codereview.chromium.org/7353005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@92463 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/ui')
-rw-r--r--chrome/browser/ui/webui/media/media_internals_proxy.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/ui/webui/media/media_internals_proxy.cc b/chrome/browser/ui/webui/media/media_internals_proxy.cc
index eb51da6..94b2ce1 100644
--- a/chrome/browser/ui/webui/media/media_internals_proxy.cc
+++ b/chrome/browser/ui/webui/media/media_internals_proxy.cc
@@ -45,11 +45,11 @@ void MediaInternalsProxy::OnUpdate(const string16& update) {
MediaInternalsProxy::~MediaInternalsProxy() {}
void MediaInternalsProxy::ObserveMediaInternalsOnIOThread() {
- io_thread_->globals()->media.media_internals->AddUI(this);
+ io_thread_->globals()->media.media_internals->AddObserver(this);
}
void MediaInternalsProxy::StopObservingMediaInternalsOnIOThread() {
- io_thread_->globals()->media.media_internals->RemoveUI(this);
+ io_thread_->globals()->media.media_internals->RemoveObserver(this);
}
void MediaInternalsProxy::GetEverythingOnIOThread() {