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

Unified Diff: ui/aura/window.cc

Issue 9297041: Merge Compositor and CompositorCC (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 11 months 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 | « ui/aura/window.h ('k') | ui/gfx/compositor/compositor.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/window.cc
diff --git a/ui/aura/window.cc b/ui/aura/window.cc
index adfa82fb429edf800db1fb5b83af5f9e5e554123..93743d671960c995123c1661e04cdfbc71d2224f 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());
« no previous file with comments | « ui/aura/window.h ('k') | ui/gfx/compositor/compositor.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698