Chromium Code Reviews

Side by Side Diff: skia/ext/bitmap_platform_device_linux.cc

Issue 11808: Move port/.../skia/public to skia/ext for Linux. Windows & Mac already moved ... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff | | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2006-2008 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2006-2008 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 "base/gfx/bitmap_platform_device_linux.h" 5 #include "skia/ext/bitmap_platform_device_linux.h"
6 6
7 #include <cairo/cairo.h> 7 #include <cairo/cairo.h>
8 8
9 #include "base/logging.h" 9 #include "base/logging.h"
10 10
11 namespace gfx { 11 namespace gfx {
12 12
13 // ----------------------------------------------------------------------------- 13 // -----------------------------------------------------------------------------
14 // These objects are reference counted and own a Cairo surface. The surface is 14 // These objects are reference counted and own a Cairo surface. The surface is
15 // the backing store for a Skia bitmap and we reference count it so that we can 15 // the backing store for a Skia bitmap and we reference count it so that we can
(...skipping 69 matching lines...)
85 return data_->surface(); 85 return data_->surface();
86 } 86 }
87 87
88 BitmapPlatformDeviceLinux& BitmapPlatformDeviceLinux::operator=( 88 BitmapPlatformDeviceLinux& BitmapPlatformDeviceLinux::operator=(
89 const BitmapPlatformDeviceLinux& other) { 89 const BitmapPlatformDeviceLinux& other) {
90 data_ = other.data_; 90 data_ = other.data_;
91 return *this; 91 return *this;
92 } 92 }
93 93
94 } // namespace gfx 94 } // namespace gfx
OLDNEW

Powered by Google App Engine