summaryrefslogtreecommitdiffstats
path: root/ui/aura/window.cc
diff options
context:
space:
mode:
Diffstat (limited to 'ui/aura/window.cc')
-rw-r--r--ui/aura/window.cc11
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());