GrColor -> SkColor in one GM
Bug: skia: Change-Id: I71ea8f4275c2eb89dd88b7abf501b71e37469785 Reviewed-on: https://skia-review.googlesource.com/155605 Reviewed-by: Brian Osman <brianosman@google.com> Commit-Queue: Brian Osman <brianosman@google.com>
This commit is contained in:
parent
cf370b1fc1
commit
9369031fde
@ -6,7 +6,6 @@
|
||||
*/
|
||||
|
||||
#include "gm.h"
|
||||
#include "GrColor.h"
|
||||
#include "sk_tool_utils.h"
|
||||
#include "SkColorPriv.h"
|
||||
#include "SkPath.h"
|
||||
@ -199,7 +198,7 @@ protected:
|
||||
fLabelPaint.getTextSize() / 4, fLabelPaint);
|
||||
}
|
||||
|
||||
void setupShapePaint(SkCanvas* canvas, GrColor color, SkBlendMode mode, SkPaint* paint) {
|
||||
void setupShapePaint(SkCanvas* canvas, SkColor color, SkBlendMode mode, SkPaint* paint) {
|
||||
paint->setColor(color);
|
||||
|
||||
if (mode == SkBlendMode::kPlus) {
|
||||
|
Loading…
Reference in New Issue
Block a user