Index: gpu/command_buffer/service/async_pixel_transfer_delegate_mac.cc |
diff --git a/gpu/command_buffer/service/async_pixel_transfer_delegate_mac.cc b/gpu/command_buffer/service/async_pixel_transfer_delegate_mac.cc |
deleted file mode 100644 |
index 496359ccd1fb4382cc947a512d0ef77f9d41e181..0000000000000000000000000000000000000000 |
--- a/gpu/command_buffer/service/async_pixel_transfer_delegate_mac.cc |
+++ /dev/null |
@@ -1,30 +0,0 @@ |
-// Copyright (c) 2013 The Chromium Authors. All rights reserved. |
-// Use of this source code is governed by a BSD-style license that can be |
-// found in the LICENSE file. |
- |
-#include "gpu/command_buffer/service/async_pixel_transfer_delegate.h" |
- |
-#include "base/debug/trace_event.h" |
-#include "gpu/command_buffer/service/async_pixel_transfer_delegate_idle.h" |
-#include "gpu/command_buffer/service/async_pixel_transfer_delegate_stub.h" |
-#include "ui/gl/gl_implementation.h" |
- |
-namespace gpu { |
- |
-AsyncPixelTransferDelegate* AsyncPixelTransferDelegate::Create( |
- gfx::GLContext* context) { |
- TRACE_EVENT0("gpu", "AsyncPixelTransferDelegate::Create"); |
- switch (gfx::GetGLImplementation()) { |
- case gfx::kGLImplementationOSMesaGL: |
- case gfx::kGLImplementationDesktopGL: |
- case gfx::kGLImplementationAppleGL: |
- return new AsyncPixelTransferDelegateIdle; |
- case gfx::kGLImplementationMockGL: |
- return new AsyncPixelTransferDelegateStub; |
- default: |
- NOTREACHED(); |
- return NULL; |
- } |
-} |
- |
-} // namespace gpu |