| Index: content/test/fake_compositor_dependencies.cc
|
| diff --git a/content/test/fake_compositor_dependencies.cc b/content/test/fake_compositor_dependencies.cc
|
| index e33554d969e5c27aec76f33ff8e3f21e29bb7e2d..700af5480a2f7ab5007fb59e660d92adda8f1f11 100644
|
| --- a/content/test/fake_compositor_dependencies.cc
|
| +++ b/content/test/fake_compositor_dependencies.cc
|
| @@ -8,6 +8,7 @@
|
| #include "base/thread_task_runner_handle.h"
|
| #include "cc/test/fake_external_begin_frame_source.h"
|
| #include "third_party/khronos/GLES2/gl2.h"
|
| +#include "ui/gfx/buffer_types.h"
|
|
|
| namespace content {
|
|
|
| @@ -48,9 +49,9 @@ bool FakeCompositorDependencies::IsOneCopyEnabled() {
|
| bool FakeCompositorDependencies::IsElasticOverscrollEnabled() {
|
| return false;
|
| }
|
| -
|
| -uint32 FakeCompositorDependencies::GetImageTextureTarget() {
|
| - return GL_TEXTURE_2D;
|
| +std::vector<unsigned> FakeCompositorDependencies::GetImageTextureTargets() {
|
| + return std::vector<unsigned>(static_cast<size_t>(gfx::BufferFormat::LAST) + 1,
|
| + GL_TEXTURE_2D);
|
| }
|
|
|
| scoped_refptr<base::SingleThreadTaskRunner>
|
|
|