summaryrefslogtreecommitdiff
path: root/libs/gui/SurfaceComposerClient.cpp
diff options
context:
space:
mode:
author Mathias Agopian <mathias@google.com> 2011-07-20 16:46:11 -0700
committer Mathias Agopian <mathias@google.com> 2011-07-20 16:53:13 -0700
commit50c24a2000c785f8be2367e1fc7938a5eda5c9e8 (patch)
tree4f6b33dae6fad115e014290b2535c0b931c9d0a1 /libs/gui/SurfaceComposerClient.cpp
parentf07b8a3f691be39083fb5163f9456bcfa566f93f (diff)
clean-up. get rid ofunused code and members in Surface[Control].cpp
Change-Id: Ia7790ae28af2c2ac99eae01c2c5044ace4a490a4
Diffstat (limited to 'libs/gui/SurfaceComposerClient.cpp')
-rw-r--r--libs/gui/SurfaceComposerClient.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/libs/gui/SurfaceComposerClient.cpp b/libs/gui/SurfaceComposerClient.cpp
index 8cead808a1b2..3b0ffea0ff1f 100644
--- a/libs/gui/SurfaceComposerClient.cpp
+++ b/libs/gui/SurfaceComposerClient.cpp
@@ -339,7 +339,7 @@ sp<SurfaceControl> SurfaceComposerClient::createSurface(
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);
+ result = new SurfaceControl(this, surface, data);
}
}
return result;