Commits

ms2ger  committed 38d62a5

Fix typo and note review.

  • Participants
  • Parent commits 4277437

Comments (0)

Files changed (1)

File ListenerManager-ContextAllocPolicy

 From: Ms2ger <ms2ger@gmail.com>
-Bug 677079 - Part j: Stop using js::ContextAllocPolicy in ListenerManager.cpp; r=bent
+Bug 677079 - Part j: Stop using js::ContextAllocPolicy in ListenerManager.cpp; r=bent+sfink
 
 diff --git a/dom/workers/ListenerManager.cpp b/dom/workers/ListenerManager.cpp
 --- a/dom/workers/ListenerManager.cpp
 +    JSContext *const cx;
 +
 +  public:
-+    ContextAllocPolicy(JSContext *cx) : cx(cx) {}
++    ExternallyUsableContextAllocPolicy(JSContext *cx) : cx(cx) {}
 +    JSContext *context() const { return cx; }
 +    void *malloc_(size_t bytes) {
 +        JSAutoRequest ar(cx);