From e85342a0d41aafc2d80f10c5393ec9c25c1f2fac Mon Sep 17 00:00:00 2001 From: Brian Hackett Date: Thu, 3 Nov 2011 10:38:08 -0700 Subject: [PATCH] Fix struct/class mismatches on js::Shape. --- js/src/jsobj.h | 2 +- js/src/jsscope.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/js/src/jsobj.h b/js/src/jsobj.h index e85909c0b645..dd284cfcbad1 100644 --- a/js/src/jsobj.h +++ b/js/src/jsobj.h @@ -455,7 +455,7 @@ struct JSObject : js::gc::Cell friend class nanojit::ValidateWriter; private: - friend class js::Shape; + friend struct js::Shape; /* * Private pointer to the last added property and methods to manipulate the diff --git a/js/src/jsscope.h b/js/src/jsscope.h index 43614923e788..0e59cb71b08f 100644 --- a/js/src/jsscope.h +++ b/js/src/jsscope.h @@ -335,7 +335,7 @@ class UnownedBaseShape; class BaseShape : public js::gc::Cell { public: - friend class Shape; + friend struct Shape; friend struct JSCompartment::BaseShapeEntry; enum Flag {