aboutsummaryrefslogtreecommitdiffhomepage
path: root/experimental/sksg/paint/SkSGColor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'experimental/sksg/paint/SkSGColor.cpp')
-rw-r--r--experimental/sksg/paint/SkSGColor.cpp18
1 files changed, 0 insertions, 18 deletions
diff --git a/experimental/sksg/paint/SkSGColor.cpp b/experimental/sksg/paint/SkSGColor.cpp
deleted file mode 100644
index d5d4d1ce62..0000000000
--- a/experimental/sksg/paint/SkSGColor.cpp
+++ /dev/null
@@ -1,18 +0,0 @@
-/*
- * Copyright 2017 Google Inc.
- *
- * Use of this source code is governed by a BSD-style license that can be
- * found in the LICENSE file.
- */
-
-#include "SkSGColor.h"
-
-namespace sksg {
-
-Color::Color(SkColor c) : fColor(c) {}
-
-void Color::onApplyToPaint(SkPaint* paint) const {
- paint->setColor(fColor);
-}
-
-} // namespace sksg