Closed
Bug 943712
Opened 12 years ago
Closed 12 years ago
Build parts of dom/mobilemessage in unified mode
Categories
(Firefox OS Graveyard :: RIL, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: ehsan.akhgari, Assigned: ehsan.akhgari)
References
Details
Attachments
(1 file)
7.41 KB,
patch
|
airpingu
:
review+
|
Details | Diff | Splinter Review |
No description provided.
Assignee | ||
Comment 1•12 years ago
|
||
Assignee | ||
Comment 2•12 years ago
|
||
Comment on attachment 8338995 [details] [diff] [review]
Build parts of dom/mobilemessage in unified mode; r=gene
https://tbpl.mozilla.org/?tree=Try&rev=ecae84623acb
Attachment #8338995 -
Flags: review?(gene.lian)
Comment 3•12 years ago
|
||
Comment on attachment 8338995 [details] [diff] [review]
Build parts of dom/mobilemessage in unified mode; r=gene
Review of attachment 8338995 [details] [diff] [review]:
-----------------------------------------------------------------
Thanks Ehsan for cleaning this up! I've been thinking of doing this at some time points.
Btw, we're planning to get rid of |convertTimeToInt| at bug 939302, comment #15, but I think we can go ahead to land this first.
::: dom/mobilemessage/src/ipc/SmsIPCService.cpp
@@ +281,5 @@
> return false;
> }
>
> for (uint32_t i = 0; i < params.mAttachments.Value().Length(); i++) {
> + dom::MmsAttachment& attachment = params.mAttachments.Value()[i];
Why did the original codes work? Just curious about it.
Attachment #8338995 -
Flags: review?(gene.lian) → review+
Updated•12 years ago
|
Assignee | ||
Comment 4•12 years ago
|
||
(In reply to Gene Lian [:gene] (needinfo? encouraged) from comment #3)
> Comment on attachment 8338995 [details] [diff] [review]
> Build parts of dom/mobilemessage in unified mode; r=gene
>
> Review of attachment 8338995 [details] [diff] [review]:
> -----------------------------------------------------------------
>
> Thanks Ehsan for cleaning this up! I've been thinking of doing this at some
> time points.
>
> Btw, we're planning to get rid of |convertTimeToInt| at bug 939302, comment
> #15, but I think we can go ahead to land this first.
Sounds good.
> ::: dom/mobilemessage/src/ipc/SmsIPCService.cpp
> @@ +281,5 @@
> > return false;
> > }
> >
> > for (uint32_t i = 0; i < params.mAttachments.Value().Length(); i++) {
> > + dom::MmsAttachment& attachment = params.mAttachments.Value()[i];
>
> Why did the original codes work? Just curious about it.
When building in unified mode, a previous .cpp file pull this in <http://dxr.mozilla.org/mozilla-central/source/dom/mobilemessage/src/ipc/SmsTypes.ipdlh#43> and that name clashes with this name (they are two classes in two different namespaces), so I had to explicitly denote the namespace of the class that this code was using.
Assignee | ||
Comment 5•12 years ago
|
||
Comment 6•12 years ago
|
||
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Comment 7•12 years ago
|
||
Fixed the --disable-unified-compilation build:
http://hg.mozilla.org/integration/mozilla-inbound/rev/897485d481de
Comment 8•12 years ago
|
||
(In reply to Benoit Jacob [:bjacob] from comment #7)
> Fixed the --disable-unified-compilation build:
> http://hg.mozilla.org/integration/mozilla-inbound/rev/897485d481de
That was bug 944834
Comment 10•12 years ago
|
||
Thank you guys!
Comment 11•12 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•