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

Unified Diff: chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.mm

Issue 107343008: mac: Fix a history swiper bug where the shield wouldn't disappear. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 7 years 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: chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.mm
diff --git a/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.mm b/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.mm
index ac57d05d0939167fcbee940357c2764e7ba4b164..58f9e46b8590bad4b558c65f1d9da1c7172883bf 100644
--- a/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.mm
+++ b/chrome/browser/renderer_host/chrome_render_widget_host_view_mac_history_swiper.mm
@@ -246,7 +246,7 @@
? kHistoryOverlayModeForward
: kHistoryOverlayModeBack];
[historyOverlay showPanelForView:[delegate_ viewThatWantsHistoryOverlay]];
- historyOverlay_ = [historyOverlay retain];
Nico 2013/12/28 00:08:30 I guess this path isn't covered by tests, else asa
erikchen 2013/12/30 19:20:34 As far as I can tell, this path is covered by my m
+ historyOverlay_ = historyOverlay;
// Record whether the user was swiping forwards or backwards.
historySwipeDirection_ = direction;

Powered by Google App Engine
This is Rietveld 408576698