summaryrefslogtreecommitdiffstats
path: root/skia/ext
diff options
context:
space:
mode:
authorarthurhsu@chromium.org <arthurhsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-05 19:57:07 +0000
committerarthurhsu@chromium.org <arthurhsu@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-05-05 19:57:07 +0000
commit8d836deb2fa2823e19f52253e1814703ad7fe332 (patch)
tree513d30ad442d269b6b8fc921a176f992218d282d /skia/ext
parent77eecb93841e695561c7e2c56cd07ce2c732ec7e (diff)
downloadchromium_src-8d836deb2fa2823e19f52253e1814703ad7fe332.zip
chromium_src-8d836deb2fa2823e19f52253e1814703ad7fe332.tar.gz
chromium_src-8d836deb2fa2823e19f52253e1814703ad7fe332.tar.bz2
Remove debug code so that canvas is painted correctly.
BUG=81465 TEST=none Review URL: http://codereview.chromium.org/6931007 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@84288 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext')
-rw-r--r--skia/ext/vector_platform_device_skia.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/skia/ext/vector_platform_device_skia.cc b/skia/ext/vector_platform_device_skia.cc
index c480c89..8fe6d77f 100644
--- a/skia/ext/vector_platform_device_skia.cc
+++ b/skia/ext/vector_platform_device_skia.cc
@@ -1,4 +1,4 @@
-// Copyright (c) 2009 The Chromium Authors. All rights reserved.
+// Copyright (c) 2011 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
@@ -74,9 +74,6 @@ PlatformDevice::PlatformSurface VectorPlatformDeviceSkia::BeginPlatformPaint() {
raster_surface_->unref(); // SkRefPtr and create both took a reference.
SkCanvas canvas(raster_surface_.get());
- SkPaint black;
- black.setColor(SK_ColorBLACK);
- canvas.drawPaint(black);
return raster_surface_->BeginPlatformPaint();
}