diff options
| author | 2011-04-20 14:19:32 -0700 | |
|---|---|---|
| committer | 2011-04-20 14:26:11 -0700 | |
| commit | 0ef4e15a6c12778daf464a4953d7e15e651f49ac (patch) | |
| tree | ba15f0ab4a2f61f56a9ebe930524b16b6a220295 /libs/gui/SurfaceComposerClient.cpp | |
| parent | 6157437aec6cfae226e15103487b15780546be2e (diff) | |
Get rid of the "pid" parameter from createSurface
Change-Id: I28635e3f803e6abe965d79998e305f54a202465d
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
| -rw-r--r-- | libs/gui/SurfaceComposerClient.cpp | 6 | 
1 files changed, 2 insertions, 4 deletions
| diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp index d3367246a1..a1ff2c1e2f 100644 --- a/libs/gui/SurfaceComposerClient.cpp +++ b/libs/gui/SurfaceComposerClient.cpp @@ -273,7 +273,6 @@ ssize_t SurfaceComposerClient::getNumberOfDisplays()  }  sp<SurfaceControl> SurfaceComposerClient::createSurface( -        int pid,          DisplayID display,          uint32_t w,          uint32_t h, @@ -286,12 +285,11 @@ sp<SurfaceControl> SurfaceComposerClient::createSurface(      snprintf(buffer, SIZE, "<pid_%d>", getpid());      name.append(buffer); -    return SurfaceComposerClient::createSurface(pid, name, display, +    return SurfaceComposerClient::createSurface(name, display,              w, h, format, flags);  }  sp<SurfaceControl> SurfaceComposerClient::createSurface( -        int pid,          const String8& name,          DisplayID display,          uint32_t w, @@ -302,7 +300,7 @@ sp<SurfaceControl> SurfaceComposerClient::createSurface(      sp<SurfaceControl> result;      if (mStatus == NO_ERROR) {          ISurfaceComposerClient::surface_data_t data; -        sp<ISurface> surface = mClient->createSurface(&data, pid, name, +        sp<ISurface> surface = mClient->createSurface(&data, name,                  display, w, h, format, flags);          if (surface != 0) {              result = new SurfaceControl(this, surface, data, w, h, format, flags); |