diff options
author | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-29 21:22:13 +0000 |
---|---|---|
committer | piman@chromium.org <piman@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2012-01-29 21:22:13 +0000 |
commit | ab6627371cb52d504cdc0bb33ca6ead8a7f8ac70 (patch) | |
tree | 61d64d4d0d4fba470b9d3b0a62f0f3e1a8e986d7 /ui/aura/window.cc | |
parent | f65d3ac3652849f5645ad8982ce5639752439140 (diff) | |
download | chromium_src-ab6627371cb52d504cdc0bb33ca6ead8a7f8ac70.zip chromium_src-ab6627371cb52d504cdc0bb33ca6ead8a7f8ac70.tar.gz chromium_src-ab6627371cb52d504cdc0bb33ca6ead8a7f8ac70.tar.bz2 |
Merge Compositor and CompositorCC
This also removes a few unused calls.
BUG=None
TEST=compiles, tests pass
Review URL: http://codereview.chromium.org/9297041
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@119645 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'ui/aura/window.cc')
-rw-r--r-- | ui/aura/window.cc | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/ui/aura/window.cc b/ui/aura/window.cc index adfa82f..93743d6 100644 --- a/ui/aura/window.cc +++ b/ui/aura/window.cc @@ -212,17 +212,6 @@ void Window::SchedulePaintInRect(const gfx::Rect& rect) { WindowObserver, observers_, OnWindowPaintScheduled(this, rect)); } -void Window::SetCanvas(const SkCanvas& canvas, const gfx::Point& origin) { - // TODO: figure out how this is going to work when animating the layer. In - // particular if we're animating the size then the underlying Texture is going - // to be unhappy if we try to set a texture on a size bigger than the size of - // the texture. - layer_->SetCanvas(canvas, origin); - gfx::Rect region(gfx::Point(), bounds().size()); - FOR_EACH_OBSERVER( - WindowObserver, observers_, OnWindowPaintScheduled(this, region)); -} - void Window::SetExternalTexture(ui::Texture* texture) { layer_->SetExternalTexture(texture); gfx::Rect region(gfx::Point(), bounds().size()); |