From eb3793b3c41f06476975821a24e630d86b46a374 Mon Sep 17 00:00:00 2001 From: "senorblanco@chromium.org" Date: Thu, 16 Sep 2010 16:26:19 +0000 Subject: Remove two spurious asserts. BUG=50362 TEST=see bug for test case Review URL: http://codereview.chromium.org/3390009 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@59663 0039d316-1c4b-4281-b951-d872f2087c98 --- skia/ext/vector_platform_device_win.cc | 4 ---- 1 file changed, 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; } -- cgit v1.1