From 0575a17d502e5f6e0c9c8eb42a416872710af6e3 Mon Sep 17 00:00:00 2001 From: Ehsan Akhgari Date: Wed, 8 Oct 2014 19:07:30 -0400 Subject: [PATCH] Bug 839838 follow-up - Use the mozilla namespace for ThreadsafeAutoSafeJSContext Landed on a CLOSED TREE --- dom/base/DOMRequest.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dom/base/DOMRequest.cpp b/dom/base/DOMRequest.cpp index 9d07fc025360..8abd5dc5f773 100644 --- a/dom/base/DOMRequest.cpp +++ b/dom/base/DOMRequest.cpp @@ -306,7 +306,7 @@ public: const JS::Value& aResult) { NS_ASSERTION(NS_IsMainThread(), "Wrong thread!"); - ThreadsafeAutoSafeJSContext cx; + mozilla::ThreadsafeAutoSafeJSContext cx; nsRefPtr asyncTask = new FireSuccessAsyncTask(cx, aRequest, aResult); if (NS_FAILED(NS_DispatchToMainThread(asyncTask))) { NS_WARNING("Failed to dispatch to main thread!");