From 87080c619c9d60f0ed3aa988d89b36c35eca95b1 Mon Sep 17 00:00:00 2001 From: "brettw@chromium.org" Date: Wed, 14 Jan 2009 16:58:55 +0000 Subject: Remove a bunch of base dependencies from skia/ext. The only nontrivial change is in bitmap_platform_device_mac. The refcounting now matches the way the Windows file works. Review URL: http://codereview.chromium.org/17627 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@8015 0039d316-1c4b-4281-b951-d872f2087c98 --- skia/ext/platform_canvas_linux.cc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'skia/ext/platform_canvas_linux.cc') diff --git a/skia/ext/platform_canvas_linux.cc b/skia/ext/platform_canvas_linux.cc index 578575a..5c14707 100644 --- a/skia/ext/platform_canvas_linux.cc +++ b/skia/ext/platform_canvas_linux.cc @@ -4,9 +4,9 @@ #include "skia/ext/platform_canvas_linux.h" -#include "base/logging.h" #include "skia/ext/platform_device_linux.h" #include "skia/ext/bitmap_platform_device_linux.h" +#include "SkTypes.h" namespace skia { @@ -16,7 +16,7 @@ PlatformCanvasLinux::PlatformCanvasLinux() : SkCanvas() { PlatformCanvasLinux::PlatformCanvasLinux(int width, int height, bool is_opaque) : SkCanvas() { if (!initialize(width, height, is_opaque)) - CHECK(false); + SK_CRASH(); } PlatformCanvasLinux::~PlatformCanvasLinux() { @@ -42,7 +42,7 @@ SkDevice* PlatformCanvasLinux::createDevice(SkBitmap::Config config, int width, int height, bool is_opaque, bool isForLayer) { - DCHECK(config == SkBitmap::kARGB_8888_Config); + SkASSERT(config == SkBitmap::kARGB_8888_Config); return createPlatformDevice(width, height, is_opaque); } -- cgit v1.1