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

Unified Diff: base/gfx/bitmap_platform_device_linux.cc

Issue 7319: get webframe_impl.cc to compile on linux (Closed)
Patch Set: merge fixes from icefox 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..171f6b9853c0d93f8a4ceedc84623f92c479633a 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