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

Unified Diff: Source/core/platform/graphics/ImageBuffer.h

Issue 18551004: Miscellaneous cleanup to reduce number of includes in platform/graphics/ Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 6 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: Source/core/platform/graphics/ImageBuffer.h
diff --git a/Source/core/platform/graphics/ImageBuffer.h b/Source/core/platform/graphics/ImageBuffer.h
index fd96acf2fb82051d6082a9b84370ac41c21657f8..434d9513b37e429b9658ea415888a4745a13560c 100644
--- a/Source/core/platform/graphics/ImageBuffer.h
+++ b/Source/core/platform/graphics/ImageBuffer.h
@@ -30,17 +30,14 @@
#include "core/platform/graphics/ColorSpace.h"
#include "core/platform/graphics/FloatRect.h"
-#include "core/platform/graphics/GraphicsContext.h"
#include "core/platform/graphics/GraphicsTypes.h"
#include "core/platform/graphics/GraphicsTypes3D.h"
#include "core/platform/graphics/IntSize.h"
-#include "core/platform/graphics/transforms/AffineTransform.h"
#include "wtf/Forward.h"
#include "wtf/OwnPtr.h"
#include "wtf/PassOwnPtr.h"
#include "wtf/PassRefPtr.h"
#include "wtf/Uint8ClampedArray.h"
-#include "wtf/Vector.h"
class SkCanvas;
@@ -53,6 +50,7 @@ class Image;
class ImageData;
class IntPoint;
class IntRect;
+class GraphicsContext;
class GraphicsContext3D;
enum Multiply {
@@ -119,10 +117,9 @@ public:
void convertToLuminanceMask();
String toDataURL(const String& mimeType, const double* quality = 0, CoordinateSystem = LogicalCoordinateSystem) const;
- AffineTransform baseTransform() const { return AffineTransform(); }
void transformColorSpace(ColorSpace srcColorSpace, ColorSpace dstColorSpace);
- static const Vector<uint8_t>& getLinearRgbLUT();
- static const Vector<uint8_t>& getDeviceRgbLUT();
+ static const Vector<uint8_t, 0>& getLinearRgbLUT();
+ static const Vector<uint8_t, 0>& getDeviceRgbLUT();
WebKit::WebLayer* platformLayer() const;
// FIXME: current implementations of this method have the restriction that they only work
« no previous file with comments | « Source/core/platform/graphics/GraphicsContextState.cpp ('k') | Source/core/platform/graphics/ImageOrientation.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698