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

Unified Diff: content/browser/web_contents/aura/window_slider.cc

Issue 278173005: Removing listening for repaints (OnUpdateRect) from OverscrollNavigationOverlay. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updating a comment. Created 6 years, 7 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
Index: content/browser/web_contents/aura/window_slider.cc
diff --git a/content/browser/web_contents/aura/window_slider.cc b/content/browser/web_contents/aura/window_slider.cc
index 61146e37c3731d6a42f5c3b08d7078ebc1f0f017..8248d6c731894c1fc9c2642669fab514d44d654c 100644
--- a/content/browser/web_contents/aura/window_slider.cc
+++ b/content/browser/web_contents/aura/window_slider.cc
@@ -227,8 +227,7 @@ void WindowSlider::SlideAnimationCompleted(
scoped_ptr<ui::Layer> layer, scoped_ptr<ShadowLayerDelegate> shadow) {
active_animator_ = NULL;
shadow.reset();
- layer.reset();
- delegate_->OnWindowSlideCompleted();
+ delegate_->OnWindowSlideCompleted(layer.Pass());
}
void WindowSlider::ResetSlideAnimationCompleted(
« no previous file with comments | « content/browser/web_contents/aura/window_slider.h ('k') | content/browser/web_contents/aura/window_slider_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698