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

Unified Diff: Source/platform/graphics/GraphicsContextState.h

Issue 661053003: Make beginLayer() and CanvasRenderingContext2D use SkXfermode::Mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase to ToT Created 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/platform/graphics/GraphicsContext.cpp ('k') | Source/platform/graphics/GraphicsContextState.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsContextState.h
diff --git a/Source/platform/graphics/GraphicsContextState.h b/Source/platform/graphics/GraphicsContextState.h
index acfe0a076c139bcca9044497c8b01d5522c18783..3c9b8ea235c5ccd72e35c4b59fa94c422ee95858 100644
--- a/Source/platform/graphics/GraphicsContextState.h
+++ b/Source/platform/graphics/GraphicsContextState.h
@@ -127,9 +127,8 @@ public:
void setColorFilter(PassRefPtr<SkColorFilter>);
// Compositing control, for the CSS and Canvas compositing spec.
- void setCompositeOperation(CompositeOperator, WebBlendMode);
- CompositeOperator compositeOperator() const { return m_compositeOperator; }
- WebBlendMode blendMode() const { return m_blendMode; }
+ void setCompositeOperation(SkXfermode::Mode);
+ SkXfermode::Mode compositeOperation() const { return m_compositeOperation; }
// Image interpolation control.
InterpolationQuality interpolationQuality() const { return m_interpolationQuality; }
@@ -177,8 +176,7 @@ private:
int m_alpha;
RefPtr<SkColorFilter> m_colorFilter;
- CompositeOperator m_compositeOperator;
- WebBlendMode m_blendMode;
+ SkXfermode::Mode m_compositeOperation;
InterpolationQuality m_interpolationQuality;
« no previous file with comments | « Source/platform/graphics/GraphicsContext.cpp ('k') | Source/platform/graphics/GraphicsContextState.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698