diff options
author | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-05 22:27:10 +0000 |
---|---|---|
committer | tfarina@chromium.org <tfarina@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-03-05 22:27:10 +0000 |
commit | 919a8c3858bdca5d7e742f2800e8f98c25ba97eb (patch) | |
tree | 92f801938469426a1d46ac029a5871f41467fbeb /ui/gfx/canvas.h | |
parent | a3d1d604041e9095bf6410a81da426860dd89d35 (diff) | |
download | chromium_src-919a8c3858bdca5d7e742f2800e8f98c25ba97eb.zip chromium_src-919a8c3858bdca5d7e742f2800e8f98c25ba97eb.tar.gz chromium_src-919a8c3858bdca5d7e742f2800e8f98c25ba97eb.tar.bz2 |
ui/gfx: Get rid of Canvas::CreateCanvas() function.
BUG=116572
TEST=compositor_unittests
R=ben@chromium.org
Review URL: https://chromiumcodereview.appspot.com/9594021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@125017 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/gfx/canvas.h')
-rw-r--r-- | ui/gfx/canvas.h | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/ui/gfx/canvas.h b/ui/gfx/canvas.h index e6ad62b..7692605 100644 --- a/ui/gfx/canvas.h +++ b/ui/gfx/canvas.h @@ -77,12 +77,6 @@ class UI_EXPORT Canvas { virtual ~Canvas() {} - // Creates an empty canvas. Must be initialized before it can be used. - static Canvas* CreateCanvas(); - - // Creates a canvas with the specified size. - static Canvas* CreateCanvas(const gfx::Size& size, bool is_opaque); - // Saves a copy of the drawing state onto a stack, operating on this copy // until a balanced call to Restore() is made. virtual void Save() = 0; |