summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--skia/ext/vector_platform_device_win.cc4
1 files changed, 0 insertions, 4 deletions
diff --git a/skia/ext/vector_platform_device_win.cc b/skia/ext/vector_platform_device_win.cc
index 5e0454f..ce096af 100644
--- a/skia/ext/vector_platform_device_win.cc
+++ b/skia/ext/vector_platform_device_win.cc
@@ -491,8 +491,6 @@ HGDIOBJ VectorPlatformDevice::SelectObject(HGDIOBJ object) {
bool VectorPlatformDevice::CreateBrush(bool use_brush, const SkPaint& paint) {
// Make sure that for transparent color, no brush is used.
if (paint.getAlpha() == 0) {
- // Test if it ever happen.
- SkASSERT(false);
use_brush = false;
}
@@ -502,8 +500,6 @@ bool VectorPlatformDevice::CreateBrush(bool use_brush, const SkPaint& paint) {
bool VectorPlatformDevice::CreatePen(bool use_pen, const SkPaint& paint) {
// Make sure that for transparent color, no pen is used.
if (paint.getAlpha() == 0) {
- // Test if it ever happen.
- SkASSERT(false);
use_pen = false;
}