Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(240)

Side by Side Diff: content/common/gpu/image_transport_surface_mac.cc

Issue 11722024: Remove some usage of the ENABLE_GPU macro. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #if defined(ENABLE_GPU)
6
7 #include "content/common/gpu/image_transport_surface.h" 5 #include "content/common/gpu/image_transport_surface.h"
8 6
9 #include "base/mac/scoped_cftyperef.h" 7 #include "base/mac/scoped_cftyperef.h"
10 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
11 #include "content/common/gpu/gpu_messages.h" 9 #include "content/common/gpu/gpu_messages.h"
12 #include "ui/gfx/native_widget_types.h" 10 #include "ui/gfx/native_widget_types.h"
13 #include "ui/gl/gl_bindings.h" 11 #include "ui/gl/gl_bindings.h"
14 #include "ui/gl/gl_context.h" 12 #include "ui/gl/gl_context.h"
15 #include "ui/gl/gl_implementation.h" 13 #include "ui/gl/gl_implementation.h"
16 #include "ui/gl/gl_surface_cgl.h" 14 #include "ui/gl/gl_surface_cgl.h"
(...skipping 418 matching lines...) Expand 10 before | Expand all | Expand 10 after
435 NOTREACHED(); 433 NOTREACHED();
436 return NULL; 434 return NULL;
437 } 435 }
438 if (surface->Initialize()) 436 if (surface->Initialize())
439 return surface; 437 return surface;
440 else 438 else
441 return NULL; 439 return NULL;
442 } 440 }
443 441
444 } // namespace content 442 } // namespace content
445
446 #endif // defined(USE_GPU)
OLDNEW
« no previous file with comments | « content/common/gpu/image_transport_surface.cc ('k') | content/common/gpu/image_transport_surface_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698