Closed
Bug 781046
Opened 12 years ago
Closed 12 years ago
Modify 4rth parameter TypedArray.h function Create() to take a const T* instead of a T*
Categories
(Core :: DOM: Core & HTML, defect)
Tracking
()
RESOLVED
FIXED
mozilla17
People
(Reporter: bsurender, Assigned: bsurender)
References
Details
Attachments
(1 file, 1 obsolete file)
1.01 KB,
patch
|
bzbarsky
:
review+
bzbarsky
:
checkin+
|
Details | Diff | Splinter Review |
Change TypedArray::Create(...) parameter 4 from T* data = NULL to a const T* data.
Comment 1•12 years ago
|
||
r=me. ;)
Attachment #649893 -
Flags: review?(bzbarsky)
Comment 3•12 years ago
|
||
Comment on attachment 649893 [details] [diff] [review] Create() 4rth arg changed to const T* and remaining changes as appropriate. Review of attachment 649893 [details] [diff] [review]: ----------------------------------------------------------------- ::: dom/bindings/TypedArray.h @@ +63,5 @@ > {} > > static inline JSObject* > Create(JSContext* cx, nsWrapperCache* creator, uint32_t length, > + const T* data) { We need to keep the = NULL here. The function has a default parameter.
(In reply to Eric Faust from comment #3) > Comment on attachment 649893 [details] [diff] [review] > Create() 4rth arg changed to const T* and remaining changes as appropriate. > > Review of attachment 649893 [details] [diff] [review]: > ----------------------------------------------------------------- > > ::: dom/bindings/TypedArray.h > @@ +63,5 @@ > > {} > > > > static inline JSObject* > > Create(JSContext* cx, nsWrapperCache* creator, uint32_t length, > > + const T* data) { > > We need to keep the = NULL here. The function has a default parameter. ah yep agreed. my bad. deleted the = NULL. :)
Attachment #649893 -
Attachment is obsolete: true
Attachment #649893 -
Flags: review?(bzbarsky)
Attachment #649905 -
Flags: review?(bzbarsky)
Comment 6•12 years ago
|
||
Comment on attachment 649905 [details] [diff] [review] TypedArray.h Create(...) 4rth parameter fix r=me
Attachment #649905 -
Flags: review?(bzbarsky) → review+
Attachment #649905 -
Flags: checkin?(bzbarsky)
Updated•12 years ago
|
Whiteboard: checkin-needed
Comment 7•12 years ago
|
||
For what it's worth, it would be good to have better checkin comments for patches you want someone else to push (like the actual checkin comment you want). https://hg.mozilla.org/integration/mozilla-inbound/rev/5556678cfd6c
Flags: in-testsuite-
Whiteboard: checkin-needed
Target Milestone: --- → mozilla17
Updated•12 years ago
|
Attachment #649905 -
Flags: checkin?(bzbarsky) → checkin+
Comment 8•12 years ago
|
||
https://hg.mozilla.org/mozilla-central/rev/5556678cfd6c
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•5 years ago
|
Component: DOM → DOM: Core & HTML
You need to log in
before you can comment on or make changes to this bug.
Description
•