diff options
| author | 2014-11-17 18:14:15 +0000 | |
|---|---|---|
| committer | 2014-11-17 18:14:16 +0000 | |
| commit | 55f71bc0800b9ec7a779c5d30d5a90e074c2526b (patch) | |
| tree | 1c2f6c7b2fc2b71aab6759a0b1d8de22db46e830 /libs/gui/LayerState.cpp | |
| parent | d72ff140e0df44106cd8539396ce686aa8f3306a (diff) | |
| parent | 097ca275f4717a2c47a5d49f302ed2b72c8a1370 (diff) | |
Merge "Replace IInterface::asBinder() with a static"
Diffstat (limited to 'libs/gui/LayerState.cpp')
| -rw-r--r-- | libs/gui/LayerState.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libs/gui/LayerState.cpp b/libs/gui/LayerState.cpp index 9d3f116a86..dcdcdf2525 100644 --- a/libs/gui/LayerState.cpp +++ b/libs/gui/LayerState.cpp @@ -63,7 +63,7 @@ status_t layer_state_t::read(const Parcel& input) } status_t ComposerState::write(Parcel& output) const { - output.writeStrongBinder(client->asBinder()); + output.writeStrongBinder(IInterface::asBinder(client)); return state.write(output); } @@ -75,7 +75,7 @@ status_t ComposerState::read(const Parcel& input) { status_t DisplayState::write(Parcel& output) const { output.writeStrongBinder(token); - output.writeStrongBinder(surface != NULL ? surface->asBinder() : NULL); + output.writeStrongBinder(IInterface::asBinder(surface)); output.writeInt32(what); output.writeInt32(layerStack); output.writeInt32(orientation); |