| Index: content/browser/compositor/surface_utils.cc
|
| diff --git a/content/browser/compositor/surface_utils.cc b/content/browser/compositor/surface_utils.cc
|
| index 78f63a0d64746150668f9694b721ca114ef91057..772199dccec2863326d90be2d1eb3d88beb23271 100644
|
| --- a/content/browser/compositor/surface_utils.cc
|
| +++ b/content/browser/compositor/surface_utils.cc
|
| @@ -6,7 +6,7 @@
|
|
|
| #include "cc/surfaces/surface_id_allocator.h"
|
|
|
| -#if defined(OS_ANDROID)
|
| +#if defined(OS_ANDROID) && !defined(USE_AURA)
|
| #include "content/browser/renderer_host/compositor_impl_android.h"
|
| #else
|
| #include "content/browser/compositor/image_transport_factory.h"
|
| @@ -16,7 +16,7 @@
|
| namespace content {
|
|
|
| scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() {
|
| -#if defined(OS_ANDROID)
|
| +#if defined(OS_ANDROID) && !defined(USE_AURA)
|
| return CompositorImpl::CreateSurfaceIdAllocator();
|
| #else
|
| ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
|
| @@ -25,7 +25,7 @@ scoped_ptr<cc::SurfaceIdAllocator> CreateSurfaceIdAllocator() {
|
| }
|
|
|
| cc::SurfaceManager* GetSurfaceManager() {
|
| -#if defined(OS_ANDROID)
|
| +#if defined(OS_ANDROID) && !defined(USE_AURA)
|
| return CompositorImpl::GetSurfaceManager();
|
| #else
|
| ImageTransportFactory* factory = ImageTransportFactory::GetInstance();
|
|
|