Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(108)

Side by Side Diff: skia/ext/bitmap_platform_device_mac.h

Issue 48105: Remove unneeded uses of base/ref_counted.h. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « net/http/http_vary_data.h ('k') | skia/ext/bitmap_platform_device_mac.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 #ifndef SKIA_EXT_BITMAP_PLATFORM_DEVICE_MAC_H_ 5 #ifndef SKIA_EXT_BITMAP_PLATFORM_DEVICE_MAC_H_
6 #define SKIA_EXT_BITMAP_PLATFORM_DEVICE_MAC_H_ 6 #define SKIA_EXT_BITMAP_PLATFORM_DEVICE_MAC_H_
7 7
8 #include "base/ref_counted.h"
9 #include "skia/ext/platform_device_mac.h" 8 #include "skia/ext/platform_device_mac.h"
10 9
11 namespace skia { 10 namespace skia {
12 11
13 // A device is basically a wrapper around SkBitmap that provides a surface for 12 // A device is basically a wrapper around SkBitmap that provides a surface for
14 // SkCanvas to draw into. Our device provides a surface CoreGraphics can also 13 // SkCanvas to draw into. Our device provides a surface CoreGraphics can also
15 // write to. BitmapPlatformDeviceMac creates a bitmap using 14 // write to. BitmapPlatformDeviceMac creates a bitmap using
16 // CGCreateBitmapContext() in a format that Skia supports and can then use this 15 // CGCreateBitmapContext() in a format that Skia supports and can then use this
17 // to draw text into, etc. This pixel data is provided to the bitmap that the 16 // to draw text into, etc. This pixel data is provided to the bitmap that the
18 // device contains so that it can be shared. 17 // device contains so that it can be shared.
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after
85 adjustAlpha adjustor); 84 adjustAlpha adjustor);
86 85
87 // Data associated with this device, guaranteed non-null. We hold a reference 86 // Data associated with this device, guaranteed non-null. We hold a reference
88 // to this object. 87 // to this object.
89 BitmapPlatformDeviceMacData* data_; 88 BitmapPlatformDeviceMacData* data_;
90 }; 89 };
91 90
92 } // namespace skia 91 } // namespace skia
93 92
94 #endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_MAC_H_ 93 #endif // SKIA_EXT_BITMAP_PLATFORM_DEVICE_MAC_H_
95
OLDNEW
« no previous file with comments | « net/http/http_vary_data.h ('k') | skia/ext/bitmap_platform_device_mac.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698