summaryrefslogtreecommitdiffstats
path: root/skia
diff options
context:
space:
mode:
authorsenorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-16 16:26:19 +0000
committersenorblanco@chromium.org <senorblanco@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-09-16 16:26:19 +0000
commiteb3793b3c41f06476975821a24e630d86b46a374 (patch)
tree09898f9e483071119647c7c84dd82a0630996d71 /skia
parent08f23881c6af14f034785bb6713b13d0898659e7 (diff)
downloadchromium_src-eb3793b3c41f06476975821a24e630d86b46a374.zip
chromium_src-eb3793b3c41f06476975821a24e630d86b46a374.tar.gz
chromium_src-eb3793b3c41f06476975821a24e630d86b46a374.tar.bz2
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
Diffstat (limited to 'skia')
-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;
}