2011-03-15 Ben Taylor <bentaylor.solx86@gmail.com>

        Reviewed by Adam Barth.

        https://bugs.webkit.org/show_bug.cgi?id=56255
        Fix build on Solaris 10/Sun Studio 12 C++

        No new tests. This is to fix compilation on Solaris 10 with Sun Studio 12 C++

        * bridge/runtime_array.h:
        (JSC::RuntimeArray::getConcreteArray):

git-svn-id: svn://svn.chromium.org/blink/trunk@81126 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent a3d6bde6
2011-03-15 Ben Taylor <bentaylor.solx86@gmail.com>
Reviewed by Adam Barth.
https://bugs.webkit.org/show_bug.cgi?id=56255
Fix build on Solaris 10/Sun Studio 12 C++
No new tests. This is to fix compilation on Solaris 10 with Sun Studio 12 C++
* bridge/runtime_array.h:
(JSC::RuntimeArray::getConcreteArray):
2011-03-14 Sam Weinig <sam@webkit.org> 2011-03-14 Sam Weinig <sam@webkit.org>
Reviewed by Adam Roben Reviewed by Adam Roben
......
...@@ -33,6 +33,7 @@ namespace JSC { ...@@ -33,6 +33,7 @@ namespace JSC {
class RuntimeArray : public JSArray { class RuntimeArray : public JSArray {
public: public:
typedef Bindings::Array BindingsArray;
RuntimeArray(ExecState*, Bindings::Array*); RuntimeArray(ExecState*, Bindings::Array*);
virtual ~RuntimeArray(); virtual ~RuntimeArray();
...@@ -48,7 +49,7 @@ public: ...@@ -48,7 +49,7 @@ public:
unsigned getLength() const { return getConcreteArray()->getLength(); } unsigned getLength() const { return getConcreteArray()->getLength(); }
Bindings::Array* getConcreteArray() const { return static_cast<Bindings::Array*>(subclassData()); } Bindings::Array* getConcreteArray() const { return static_cast<BindingsArray*>(subclassData()); }
static const ClassInfo s_info; static const ClassInfo s_info;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment