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

Unified Diff: ui/aura/window.cc

Issue 11819012: aura: Don't notify observers in Window::SetExternalTexture. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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 | « no previous file | no next file » | 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 56d5ba222e3add86ff048e3438c6b1f980f0fb76..85985805ae55290c7a6030c9075247cca522b8cd 100644
--- a/ui/aura/window.cc
+++ b/ui/aura/window.cc
@@ -316,9 +316,6 @@ void Window::SchedulePaintInRect(const gfx::Rect& rect) {
void Window::SetExternalTexture(ui::Texture* texture) {
layer_->SetExternalTexture(texture);
- gfx::Rect region(bounds().size());
- FOR_EACH_OBSERVER(
- WindowObserver, observers_, OnWindowPaintScheduled(this, region));
}
void Window::SetDefaultParentByRootWindow(RootWindow* root_window,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698