Closed Bug 769953 Opened 12 years ago Closed 12 years ago

Build fails in nsCanvasRenderingContext2DAzure.cpp

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
critical

Tracking

()

RESOLVED DUPLICATE of bug 769080

People

(Reporter: bjackson0971, Unassigned)

References

Details

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:13.0) Gecko/13.0 Firefox/13.0
Build ID: 20120630062434

Steps to reproduce:

Building Firefox from trunk source using GCC 4.7.1 on x86_64 Linux. Deleted build directory and bypassed ccache but got same error.


Actual results:

/home/bsjacks/mozilla/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp: In member function ‘void nsCanvasRenderingContext2DAzure::PutImageData(JSContext*, mozilla::dom::ImageData*, double, double, mozilla::ErrorResult&)’:
/home/bsjacks/mozilla/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp:4335:3: error: ‘Uint8ClampedArray’ is not a member of ‘mozilla::dom’
/home/bsjacks/mozilla/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp:4335:26: error: expected ‘;’ before ‘arr’
/home/bsjacks/mozilla/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp:4339:33: error: ‘arr’ was not declared in this scope
/home/bsjacks/mozilla/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp: In member function ‘void nsCanvasRenderingContext2DAzure::PutImageData(JSContext*, mozilla::dom::ImageData*, double, double, double, double, double, double, mozilla::ErrorResult&)’:
/home/bsjacks/mozilla/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp:4355:3: error: ‘Uint8ClampedArray’ is not a member of ‘mozilla::dom’
/home/bsjacks/mozilla/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp:4355:26: error: expected ‘;’ before ‘arr’
/home/bsjacks/mozilla/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp:4359:33: error: ‘arr’ was not declared in this scope
/home/bsjacks/mozilla/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp: In function ‘already_AddRefed<mozilla::dom::ImageData> CreateImageData(JSContext*, nsCanvasRenderingContext2DAzure*, uint32_t, uint32_t, mozilla::ErrorResult&)’:
/home/bsjacks/mozilla/content/canvas/src/nsCanvasRenderingContext2DAzure.cpp:4531:22: error: ‘Uint8ClampedArray’ has not been declared



Expected results:

Build should complete
I've been seeing this too with MSVC 2010 on Windows 7.
Blocks: 762652
Severity: normal → critical
Status: UNCONFIRMED → NEW
Component: Untriaged → DOM
Ever confirmed: true
OS: Linux → All
Product: Firefox → Core
QA Contact: untriaged → general
Hardware: x86_64 → All
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → DUPLICATE
I can confirm that bug 769080 fixed this for me.
Component: DOM → DOM: Core & HTML
You need to log in before you can comment on or make changes to this bug.