Fix build. 3rd attempt

Change-Id: I4317b34fd07890ea7cf9db51be42d72ef21aca89
This commit is contained in:
Mathias Agopian 2013-08-06 15:19:15 -07:00
parent db89edc94b
commit 126b9c8e95

View File

@ -139,7 +139,7 @@ TEST_F(SurfaceTest, QueryConsumerUsage) {
sp<BufferQueue> bq = new BufferQueue();
sp<BufferItemConsumer> c = new BufferItemConsumer(bq,
TEST_USAGE_FLAGS);
sp<Surface> s = new Surface(c->getProducerInterface());
sp<Surface> s = new Surface(bq);
sp<ANativeWindow> anw(s);