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

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

Issue 840733004: Replace setCompositeOperation(CompositeOperator, WebBlendMode) with setCompositeOperation(SkXfermod… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: 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/GradientGeneratedImage.cpp ('k') | Source/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/platform/graphics/GraphicsContext.h
diff --git a/Source/platform/graphics/GraphicsContext.h b/Source/platform/graphics/GraphicsContext.h
index 24b35beb53400033804201aa6c3940d670f1dd04..5093163dc7dbb400c32e8845fe066a3348d1cce8 100644
--- a/Source/platform/graphics/GraphicsContext.h
+++ b/Source/platform/graphics/GraphicsContext.h
@@ -179,9 +179,9 @@ public:
InterpolationQuality imageInterpolationQuality() const { return immutableState()->interpolationQuality(); }
void setCompositeOperation(SkXfermode::Mode);
+ SkXfermode::Mode compositeOperation() const;
// TODO(dshwang): remove these method. crbug.com/425656
- void setCompositeOperation(CompositeOperator, WebBlendMode = WebBlendModeNormal);
- CompositeOperator compositeOperation() const;
+ CompositeOperator compositeOperator() const;
dshwang 2015/01/21 16:18:11 change this method name to avoid conflict with "Sk
Justin Novosad 2015/01/21 16:44:01 The coexistence of these two names is quite confus
WebBlendMode blendModeOperation() const;
// Specify the device scale factor which may change the way document markers
« no previous file with comments | « Source/platform/graphics/GradientGeneratedImage.cpp ('k') | Source/platform/graphics/GraphicsContext.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698