Closed Bug 1248923 Opened 8 years ago Closed 8 years ago

Update ParamTraits<GonkNativeHandle>::Read()

Categories

(Core :: Graphics: Layers, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla47
Tracking Status
firefox47 --- fixed

People

(Reporter: sotaro, Assigned: sotaro)

Details

Attachments

(1 file, 1 obsolete file)

ParamTraits<GonkNativeHandle>::Read() does not set a result. Needs to address it.
Attachment #8720235 - Flags: review?(nical.bugzilla)
Assignee: nobody → sotaro.ikeda.g
Comment on attachment 8720235 [details] [diff] [review]
patch - Store result in Update ParamTraits<GonkNativeHandle>::Read()

Review of attachment 8720235 [details] [diff] [review]:
-----------------------------------------------------------------

::: gfx/layers/ipc/GonkNativeHandleUtils.cpp
@@ +62,5 @@
>      nativeHandle->data[i] = fd.fd;
>    }
>  
> +  GonkNativeHandle handle(new GonkNativeHandle::NhObj(nativeHandle));
> +  handle.TransferToAnother(*aResult);  

nit: trailing spaces
Attachment #8720235 - Flags: review?(nical.bugzilla) → review+
Apply the comment. Carry "r=nical".
Attachment #8720235 - Attachment is obsolete: true
Attachment #8721828 - Flags: review+
https://hg.mozilla.org/mozilla-central/rev/7f6575cf223e
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla47
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: