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

Unified Diff: src/base/gfx/platform_canvas_linux.cc

Issue 11225: Fix a proto-type mismatch on a virtual override. (Closed)
Patch Set: Created 12 years, 1 month 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 | « src/base/gfx/platform_canvas_linux.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/base/gfx/platform_canvas_linux.cc
diff --git a/src/base/gfx/platform_canvas_linux.cc b/src/base/gfx/platform_canvas_linux.cc
index 5ebeb27d08a493352200ffecf93710b39e1dea6f..b5795368110daccfba2c89d07cdbd43f33bb20ad 100644
--- a/src/base/gfx/platform_canvas_linux.cc
+++ b/src/base/gfx/platform_canvas_linux.cc
@@ -38,8 +38,11 @@ PlatformDeviceLinux& PlatformCanvasLinux::getTopPlatformDevice() const {
return *static_cast<PlatformDeviceLinux*>(iter.device());
}
-SkDevice* PlatformCanvasLinux::createDevice(SkBitmap::Config, int width,
- int height, bool is_opaque) {
+SkDevice* PlatformCanvasLinux::createDevice(SkBitmap::Config config,
+ int width,
+ int height,
+ bool is_opaque, bool isForLayer) {
+ DCHECK(config == SkBitmap::kARGB_8888_Config);
return createPlatformDevice(width, height, is_opaque);
}
« no previous file with comments | « src/base/gfx/platform_canvas_linux.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698