Bug 642381, part 2: Rename LazilyConstructed to Maybe. r=luke

This commit is contained in:
Chris Jones
2011-04-28 17:48:51 -05:00
parent 6b716ef59b
commit 0ca94e5bf8
12 changed files with 33 additions and 33 deletions

View File

@@ -176,7 +176,7 @@ JetpackActorCommon::jsval_to_CompVariant(JSContext* cx, JSType type, jsval from,
if (type != JSTYPE_OBJECT)
return false;
js::LazilyConstructed<OpaqueSeenType> lost;
js::Maybe<OpaqueSeenType> lost;
if (!seen) {
lost.construct();
seen = lost.addr();
@@ -337,7 +337,7 @@ JetpackActorCommon::jsval_from_CompVariant(JSContext* cx,
jsval* to,
OpaqueSeenType* seen)
{
js::LazilyConstructed<OpaqueSeenType> lost;
js::Maybe<OpaqueSeenType> lost;
if (!seen) {
lost.construct();
seen = lost.addr();