summaryrefslogtreecommitdiffstats
path: root/services/surfaceflinger/tests/resize
diff options
context:
space:
mode:
authorGlenn Kasten <gkasten@google.com>2012-02-09 12:09:25 -0800
committerGlenn Kasten <gkasten@google.com>2012-02-09 14:34:15 -0800
commite8c9ec64f06a0a8aeb95a41523c17b53b6128903 (patch)
treeaddaacef7dd63baaa99d9683d2028634347bc2d6 /services/surfaceflinger/tests/resize
parent11d2747fdd34d9259e777a6190ee8076bf8570ea (diff)
downloadframeworks_native-e8c9ec64f06a0a8aeb95a41523c17b53b6128903.zip
frameworks_native-e8c9ec64f06a0a8aeb95a41523c17b53b6128903.tar.gz
frameworks_native-e8c9ec64f06a0a8aeb95a41523c17b53b6128903.tar.bz2
createSurface getpid() first parameter was removed
Most of these tests in this directory don't currently build, but test-surface did build incorrectly by bad luck, using the old API. test-resize still doesn't build, but when the other build errors are fixed then it will use the right API. Change-Id: I388d6d59fe0a2328f352214dcdc28839a24043f0
Diffstat (limited to 'services/surfaceflinger/tests/resize')
-rw-r--r--services/surfaceflinger/tests/resize/resize.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/services/surfaceflinger/tests/resize/resize.cpp b/services/surfaceflinger/tests/resize/resize.cpp
index 56b2a8f..7f3f064 100644
--- a/services/surfaceflinger/tests/resize/resize.cpp
+++ b/services/surfaceflinger/tests/resize/resize.cpp
@@ -39,7 +39,7 @@ int main(int argc, char** argv)
// create a client to surfaceflinger
sp<SurfaceComposerClient> client = new SurfaceComposerClient();
- sp<Surface> surface = client->createSurface(getpid(), 0, 160, 240,
+ sp<Surface> surface = client->createSurface(0, 160, 240,
PIXEL_FORMAT_RGB_565);