| Index: ui/gfx/compositor/compositor.cc
|
| diff --git a/ui/gfx/compositor/compositor.cc b/ui/gfx/compositor/compositor.cc
|
| index 6dd9fc3e576d8538b40903321c2f4a54bae10b5b..54d5b80c09c1b9f9da541665fe45b45e47ce9e71 100644
|
| --- a/ui/gfx/compositor/compositor.cc
|
| +++ b/ui/gfx/compositor/compositor.cc
|
| @@ -254,19 +254,10 @@ WebKit::WebGraphicsContext3D* Compositor::createContext3D() {
|
| // Use context that results in no rendering to the screen.
|
| context = new TestWebGraphicsContext3D();
|
| } else {
|
| -#if defined(OS_MACOSX) && !defined(USE_AURA)
|
| - // Non-Aura builds compile this code but doesn't call it. Unfortunately
|
| - // this is where we translate gfx::AcceleratedWidget to
|
| - // gfx::PluginWindowHandle, and they are different on non-Aura Mac.
|
| - // TODO(piman): remove ifdefs when AcceleratedWidget is rationalized on Mac.
|
| - NOTIMPLEMENTED();
|
| - return NULL;
|
| -#else
|
| gfx::GLShareGroup* share_group =
|
| SharedResources::GetInstance()->GetShareGroup();
|
| context = new webkit::gpu::WebGraphicsContext3DInProcessImpl(
|
| widget_, share_group);
|
| -#endif
|
| }
|
| WebKit::WebGraphicsContext3D::Attributes attrs;
|
| context->initialize(attrs, 0, true);
|
|
|