diff options
author | twiz@chromium.org <twiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-17 19:09:12 +0000 |
---|---|---|
committer | twiz@chromium.org <twiz@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-17 19:09:12 +0000 |
commit | 38846729c719211e1d0a51f3dfb565be650545ca (patch) | |
tree | a68620820aeba423774e0d704419b4d713c694dd /skia/ext/bitmap_platform_device_linux.cc | |
parent | 33af5ea0d848f9377628536dd2f1dc197d8b4c03 (diff) | |
download | chromium_src-38846729c719211e1d0a51f3dfb565be650545ca.zip chromium_src-38846729c719211e1d0a51f3dfb565be650545ca.tar.gz chromium_src-38846729c719211e1d0a51f3dfb565be650545ca.tar.bz2 |
CL removing unused copy constructor and assignment operators on BitmapPlatformDevice. These classes should not have value semantics.
BUG=None
TEST=None
Review URL: http://codereview.chromium.org/7204005
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@89534 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia/ext/bitmap_platform_device_linux.cc')
-rw-r--r-- | skia/ext/bitmap_platform_device_linux.cc | 15 |
1 files changed, 1 insertions, 14 deletions
diff --git a/skia/ext/bitmap_platform_device_linux.cc b/skia/ext/bitmap_platform_device_linux.cc index a32fafb..ae4d892 100644 --- a/skia/ext/bitmap_platform_device_linux.cc +++ b/skia/ext/bitmap_platform_device_linux.cc @@ -1,4 +1,4 @@ -// Copyright (c) 2010 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. @@ -133,13 +133,6 @@ BitmapPlatformDevice::BitmapPlatformDevice( data_(data) { } -BitmapPlatformDevice::BitmapPlatformDevice( - const BitmapPlatformDevice& other) - : PlatformDevice(const_cast<BitmapPlatformDevice&>( - other).accessBitmap(true)), - data_(other.data_) { -} - BitmapPlatformDevice::~BitmapPlatformDevice() { } @@ -165,10 +158,4 @@ void BitmapPlatformDevice::setMatrixClip(const SkMatrix& transform, data_->SetMatrixClip(transform, region); } -BitmapPlatformDevice& BitmapPlatformDevice::operator=( - const BitmapPlatformDevice& other) { - data_ = other.data_; - return *this; -} - } // namespace skia |