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

Unified Diff: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h

Issue 12896006: mac: Clean up a few more uses of USE_SKIA (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: mac Created 7 years, 9 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 side-by-side diff with in-line comments
Download patch
Index: content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
diff --git a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
index 8b0318a424b7146c4635f5df2eff2d6f93132993..46d311adbfce8c465076303062ccbe986c1e1eae 100644
--- a/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
+++ b/content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.h
@@ -20,10 +20,6 @@
#include "ui/gl/gpu_preference.h"
#include "ui/gfx/native_widget_types.h"
-#if defined(USE_SKIA)
-#define FLIP_FRAMEBUFFER_VERTICALLY
-#endif
-
namespace gpu {
class TransferBuffer;
@@ -752,12 +748,10 @@ class WebGraphicsContext3DCommandBufferImpl
base::WeakPtrFactory<WebGraphicsContext3DCommandBufferImpl> weak_ptr_factory_;
-#ifdef FLIP_FRAMEBUFFER_VERTICALLY
std::vector<uint8> scanline_;
void FlipVertically(uint8* framebuffer,
unsigned int width,
unsigned int height);
-#endif
bool initialized_;
WebGraphicsContext3DCommandBufferImpl* parent_;
« no previous file with comments | « content/browser/gpu/gpu_internals_ui.cc ('k') | content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698