Remove an unnecessary declaration that seems to be causing link errors only on Windows with some compilers. Followup to bug 739380, r=bustage
authorJeff Walden <jwalden@mit.edu>
Tue, 03 Apr 2012 09:10:22 -0700
changeset 94208 3801f97de34740f224e8e2590acc55e1850db330
parent 94207 5128e92c536c17aede8e950dcf1f1974324c9c1e
child 94219 d698e656b1e083dd6f536ad4c1b2f99adbb1bcc8
push id886
push userlsblakk@mozilla.com
push dateMon, 04 Jun 2012 19:57:52 +0000
treeherdermozilla-beta@bbd8d5efd6d1 [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersbustage
bugs739380
milestone14.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Remove an unnecessary declaration that seems to be causing link errors only on Windows with some compilers. Followup to bug 739380, r=bustage
js/src/vm/ObjectImpl.h
--- a/js/src/vm/ObjectImpl.h
+++ b/js/src/vm/ObjectImpl.h
@@ -245,21 +245,16 @@ class Float64ElementsHeader : public Typ
     bool isFloat64Elements() const MOZ_DELETE;
     Float64ElementsHeader & asFloat64Elements() MOZ_DELETE;
     Float64ElementsHeader(const Float64ElementsHeader &other) MOZ_DELETE;
     void operator=(const Float64ElementsHeader &other) MOZ_DELETE;
 };
 
 class Uint8ClampedElementsHeader : public TypedElementsHeader<uint8_t>
 {
-  public:
-    bool defineElement(JSContext *cx, ObjectImpl *obj,
-                       uint32_t index, const Value &value,
-                       PropertyOp getter, StrictPropertyOp setter, unsigned attrs);
-
   private:
     inline bool isUint8Clamped() const MOZ_DELETE;
     inline Uint8ClampedElementsHeader & asUint8ClampedElements() MOZ_DELETE;
     Uint8ClampedElementsHeader(const Uint8ClampedElementsHeader &other) MOZ_DELETE;
     void operator=(const Uint8ClampedElementsHeader &other) MOZ_DELETE;
 };
 
 class ArrayBufferElementsHeader : public ElementsHeader