diff options
author | qinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-06 01:20:40 +0000 |
---|---|---|
committer | qinmin@chromium.org <qinmin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-12-06 01:20:40 +0000 |
commit | 0a5e1b5a340a83c9559b5ea0ebc6171c272cac30 (patch) | |
tree | 0a1997e1cfe7393cf3a46fa58ffbd08034fe7b6c | |
parent | 5bec29c860b5c27a67595bdf4053b1d1ccd00975 (diff) | |
download | chromium_src-0a5e1b5a340a83c9559b5ea0ebc6171c272cac30.zip chromium_src-0a5e1b5a340a83c9559b5ea0ebc6171c272cac30.tar.gz chromium_src-0a5e1b5a340a83c9559b5ea0ebc6171c272cac30.tar.bz2 |
split lazy_pixel_ref.h into .cc and .h file to fix windows dbg build
Review URL: https://chromiumcodereview.appspot.com/11447015
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@171375 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r-- | skia/ext/lazy_pixel_ref.cc | 15 | ||||
-rw-r--r-- | skia/ext/lazy_pixel_ref.h | 4 | ||||
-rw-r--r-- | skia/skia.gyp | 1 |
3 files changed, 18 insertions, 2 deletions
diff --git a/skia/ext/lazy_pixel_ref.cc b/skia/ext/lazy_pixel_ref.cc new file mode 100644 index 0000000..784fae4 --- /dev/null +++ b/skia/ext/lazy_pixel_ref.cc @@ -0,0 +1,15 @@ +// Copyright (c) 2012 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. + +#include "skia/ext/lazy_pixel_ref.h" + +namespace skia { + +LazyPixelRef::LazyPixelRef() : SkPixelRef(0) { +} + +LazyPixelRef::~LazyPixelRef() { +} + +} // namespace skia diff --git a/skia/ext/lazy_pixel_ref.h b/skia/ext/lazy_pixel_ref.h index eb1b096..c8a3a58 100644 --- a/skia/ext/lazy_pixel_ref.h +++ b/skia/ext/lazy_pixel_ref.h @@ -14,8 +14,8 @@ namespace skia { // thread. class SK_API LazyPixelRef : public SkPixelRef { public: - LazyPixelRef() : SkPixelRef(0) {} - virtual ~LazyPixelRef() {} + LazyPixelRef(); + virtual ~LazyPixelRef(); struct PrepareParams { // Clipping rect for this pixel ref. diff --git a/skia/skia.gyp b/skia/skia.gyp index b845456..e2a0ad9 100644 --- a/skia/skia.gyp +++ b/skia/skia.gyp @@ -167,6 +167,7 @@ 'ext/google_logging.cc', 'ext/image_operations.cc', 'ext/image_operations.h', + 'ext/lazy_pixel_ref.cc', 'ext/lazy_pixel_ref.h', 'ext/SkThread_chrome.cc', 'ext/platform_canvas.cc', |