OLD | NEW |
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 "skia/ext/platform_device.h" | 5 #include "skia/ext/platform_device.h" |
6 | 6 |
7 namespace skia { | 7 namespace skia { |
8 | 8 |
9 CGContextRef PlatformDevice::BeginPlatformPaint() { | 9 CGContextRef PlatformDevice::BeginPlatformPaint() { |
10 return GetBitmapContext(); | 10 return GetBitmapContext(); |
11 } | 11 } |
12 | 12 |
13 void PlatformDevice::EndPlatformPaint() { | |
14 // Flushing will be done in onAccessBitmap. | |
15 } | |
16 | |
17 } // namespace skia | 13 } // namespace skia |
OLD | NEW |