| Index: ui/compositor/compositor.cc
|
| diff --git a/ui/compositor/compositor.cc b/ui/compositor/compositor.cc
|
| index b6b15f4b3863fbdb74b21ea0ad2ec72f0978bdce..c843272e2e8f7b14eb8a6477664ed835c7e39173 100644
|
| --- a/ui/compositor/compositor.cc
|
| +++ b/ui/compositor/compositor.cc
|
| @@ -125,7 +125,9 @@ scoped_ptr<cc::OutputSurface> DefaultContextFactory::CreateOutputSurface(
|
| scoped_refptr<ContextProviderInProcess> context_provider =
|
| ContextProviderInProcess::Create(context3d.Pass());
|
|
|
| - return make_scoped_ptr(new cc::OutputSurface(context_provider));
|
| + return make_scoped_ptr(new cc::OutputSurface(
|
| + context_provider,
|
| + cc::OutputSurface::kDefaultMaxTransferBufferUsageBytes));
|
| }
|
|
|
| scoped_refptr<Reflector> DefaultContextFactory::CreateReflector(
|
| @@ -173,7 +175,9 @@ TestContextFactory::~TestContextFactory() {}
|
| scoped_ptr<cc::OutputSurface> TestContextFactory::CreateOutputSurface(
|
| Compositor* compositor) {
|
| return make_scoped_ptr(
|
| - new cc::OutputSurface(cc::TestContextProvider::Create()));
|
| + new cc::OutputSurface(
|
| + cc::TestContextProvider::Create(),
|
| + cc::OutputSurface::kDefaultMaxTransferBufferUsageBytes));
|
| }
|
|
|
| scoped_refptr<Reflector> TestContextFactory::CreateReflector(
|
|
|