diff options
Diffstat (limited to 'chrome/common')
-rw-r--r-- | chrome/common/clipboard_service.cc | 2 | ||||
-rw-r--r-- | chrome/common/clipboard_service.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/chrome/common/clipboard_service.cc b/chrome/common/clipboard_service.cc index d7c5d9f..35246d4 100644 --- a/chrome/common/clipboard_service.cc +++ b/chrome/common/clipboard_service.cc @@ -37,7 +37,7 @@ ClipboardService::ClipboardService() { } -void ClipboardService::WriteBitmap(const SkBitmap& bitmap) const { +void ClipboardService::WriteBitmap(const SkBitmap& bitmap) { SkAutoLockPixels bitmap_lock(bitmap); Clipboard::WriteBitmap(bitmap.getPixels(), gfx::Size(bitmap.width(), bitmap.height())); diff --git a/chrome/common/clipboard_service.h b/chrome/common/clipboard_service.h index ab7087d..cad2bab 100644 --- a/chrome/common/clipboard_service.h +++ b/chrome/common/clipboard_service.h @@ -44,7 +44,7 @@ class ClipboardService : public Clipboard { // Adds a bitmap to the clipboard // This is the slowest way to copy a bitmap to the clipboard as we must fist // memcpy the bits into GDI and the blit the bitmap to the clipboard. - void WriteBitmap(const SkBitmap& bitmap) const; + void WriteBitmap(const SkBitmap& bitmap); private: |