diff options
author | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 07:38:23 +0000 |
---|---|---|
committer | deanm@chromium.org <deanm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-18 07:38:23 +0000 |
commit | 9db48aa7a3d782d1a0382484ad76625c5cb1e575 (patch) | |
tree | b899d3479ecce9ed0ae1a34df91808e7609def2e /base/gfx/platform_canvas_linux.h | |
parent | daf05bb1f88fa0c16b5991a814fa077147bb43f1 (diff) | |
download | chromium_src-9db48aa7a3d782d1a0382484ad76625c5cb1e575.zip chromium_src-9db48aa7a3d782d1a0382484ad76625c5cb1e575.tar.gz chromium_src-9db48aa7a3d782d1a0382484ad76625c5cb1e575.tar.bz2 |
Fix a proto-type mismatch on a virtual override.
This was causing us to create a SkDevice instead of creating our special platform device type instead. This fixes one of the main Linux crashes.
Review URL: http://codereview.chromium.org/11225
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5600 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/gfx/platform_canvas_linux.h')
-rw-r--r-- | base/gfx/platform_canvas_linux.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/base/gfx/platform_canvas_linux.h b/base/gfx/platform_canvas_linux.h index e13207e..804c6b6 100644 --- a/base/gfx/platform_canvas_linux.h +++ b/base/gfx/platform_canvas_linux.h @@ -37,7 +37,7 @@ class PlatformCanvasLinux : public SkCanvas { // the device is always our own so we know that we can use GDI operations // on it. Simply calls into createPlatformDevice(). virtual SkDevice* createDevice(SkBitmap::Config, int width, int height, - bool is_opaque); + bool is_opaque, bool isForLayer); // Creates a device store for use by the canvas. By default, it creates a // BitmapPlatformDevice object. Can be overridden to change the object type. |