Index: skia/ext/platform_canvas_mac.cc |
diff --git a/skia/ext/platform_canvas_mac.cc b/skia/ext/platform_canvas_mac.cc |
index 937346805b2c0bacaf57c0c580063a43141ade61..e79e087e3c08d0b895c9f2b7fc6b9686670c5e84 100644 |
--- a/skia/ext/platform_canvas_mac.cc |
+++ b/skia/ext/platform_canvas_mac.cc |
@@ -1,4 +1,4 @@ |
-// Copyright (c) 2006-2008 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. |
@@ -49,11 +49,11 @@ bool PlatformCanvas::initialize(CGContextRef context, |
context, width, height, is_opaque)); |
} |
-CGContextRef PlatformCanvas::beginPlatformPaint() { |
+CGContextRef PlatformCanvas::beginPlatformPaint() const { |
return getTopPlatformDevice().GetBitmapContext(); |
} |
-void PlatformCanvas::endPlatformPaint() { |
+void PlatformCanvas::endPlatformPaint() const { |
// Flushing will be done in onAccessBitmap. |
} |