diff options
-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', |