| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "skia/ext/lazy_pixel_ref.h" | 5 #include "skia/ext/lazy_pixel_ref.h" |
| 6 | 6 |
| 7 namespace skia { | 7 namespace skia { |
| 8 | 8 |
| 9 #ifdef SK_SUPPORT_LEGACY_PIXELREF_CONSTRUCTOR | |
| 10 // DEPRECATED -- will remove after blink updates to pass info | |
| 11 LazyPixelRef::LazyPixelRef() { | |
| 12 } | |
| 13 #endif | |
| 14 | |
| 15 LazyPixelRef::LazyPixelRef(const SkImageInfo& info) : SkPixelRef(info) { | 9 LazyPixelRef::LazyPixelRef(const SkImageInfo& info) : SkPixelRef(info) { |
| 16 } | 10 } |
| 17 | 11 |
| 18 LazyPixelRef::~LazyPixelRef() { | 12 LazyPixelRef::~LazyPixelRef() { |
| 19 } | 13 } |
| 20 | 14 |
| 21 } // namespace skia | 15 } // namespace skia |
| OLD | NEW |