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

Unified Diff: base/gfx/bitmap_platform_device_linux.cc

Issue 7244: Linux build fixes for webframe_imple.cc (Closed)
Patch Set: Linux build fixes for webframe_imple.cc Created 12 years, 2 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « base/gfx/bitmap_platform_device_linux.h ('k') | base/gfx/rect.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/gfx/bitmap_platform_device_linux.cc
diff --git a/base/gfx/bitmap_platform_device_linux.cc b/base/gfx/bitmap_platform_device_linux.cc
index 1211a1536d5bb74004c73748f7e3bdffc5c8bb8a..3cb6683874d62d82acb5cd6a07e974f02fc1a913 100644
--- a/base/gfx/bitmap_platform_device_linux.cc
+++ b/base/gfx/bitmap_platform_device_linux.cc
@@ -38,6 +38,12 @@ BitmapPlatformDeviceLinux::BitmapPlatformDeviceLinux(const SkBitmap& bitmap)
: PlatformDeviceLinux(bitmap) {
}
+BitmapPlatformDeviceLinux::BitmapPlatformDeviceLinux(
+ const BitmapPlatformDeviceLinux& other)
+ : PlatformDeviceLinux(
+ const_cast<BitmapPlatformDeviceLinux&>(other).accessBitmap(true)) {
+}
+
BitmapPlatformDeviceLinux::~BitmapPlatformDeviceLinux() {
}
« no previous file with comments | « base/gfx/bitmap_platform_device_linux.h ('k') | base/gfx/rect.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698