Windows-specific warning patrol. No bug, r=themaid

--HG--
extra : rebase_source : c0f13210632a661bdeb560e397a24476e754816d
This commit is contained in:
Jeff Walden 2012-02-25 01:59:12 -08:00
parent 48c6fcb63b
commit ffcde15763
2 changed files with 2 additions and 2 deletions

View File

@ -970,7 +970,7 @@ JSContext::JSContext(JSRuntime *rt)
stack(thisDuringConstruction()), /* depends on cx->thread_ */
parseMapPool_(NULL),
globalObject(NULL),
sharpObjectMap(this),
sharpObjectMap(thisDuringConstruction()),
argumentFormatMap(NULL),
lastMessage(NULL),
errorReporter(NULL),

View File

@ -1031,7 +1031,7 @@ SuppressDeletedPropertyHelper(JSContext *cx, JSObject *obj, StringPredicate pred
* Invoke the write barrier on this element, since it's
* no longer going to be marked.
*/
ni->props_end->HeapPtr<JSFlatString>::~HeapPtr<JSFlatString>();
ni->props_end->HeapPtr<JSFlatString>::~HeapPtr();
}
/* Don't reuse modified native iterators. */