summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-22 03:17:40 +0000
committerdhollowa@chromium.org <dhollowa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-04-22 03:17:40 +0000
commit2251e7c43864a1da39a8734fd36b3591f0344226 (patch)
tree03f3071b309325a025800e45c1080a81b5489918
parent986b1d4ee068ca1888a46bea7280017ee99feceb (diff)
downloadchromium_src-2251e7c43864a1da39a8734fd36b3591f0344226.zip
chromium_src-2251e7c43864a1da39a8734fd36b3591f0344226.tar.gz
chromium_src-2251e7c43864a1da39a8734fd36b3591f0344226.tar.bz2
Bookmark Hover: Introduced an over-delete with attempt at timer safety.
Removing redundant timer supspension. This was causing an over delete when dragging to parent folder. BUG=40006 TEST=BookmarkBarFolderControllerTest.HoverState Review URL: http://codereview.chromium.org/1766003 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@45279 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/cocoa/bookmark_bar_folder_hover_state.h1
-rw-r--r--chrome/browser/cocoa/bookmark_bar_folder_hover_state.mm6
2 files changed, 0 insertions, 7 deletions
diff --git a/chrome/browser/cocoa/bookmark_bar_folder_hover_state.h b/chrome/browser/cocoa/bookmark_bar_folder_hover_state.h
index 8ed03f7..1c103d6 100644
--- a/chrome/browser/cocoa/bookmark_bar_folder_hover_state.h
+++ b/chrome/browser/cocoa/bookmark_bar_folder_hover_state.h
@@ -49,7 +49,6 @@
// Designated initializer.
- (id)init;
-- (void)dealloc;
// The BookmarkBarFolderHoverState decides when it is appropriate to hide
// and show the button that the BookmarkBarFolderController drags over.
diff --git a/chrome/browser/cocoa/bookmark_bar_folder_hover_state.mm b/chrome/browser/cocoa/bookmark_bar_folder_hover_state.mm
index 27fb156..5d977e4 100644
--- a/chrome/browser/cocoa/bookmark_bar_folder_hover_state.mm
+++ b/chrome/browser/cocoa/bookmark_bar_folder_hover_state.mm
@@ -20,12 +20,6 @@
return self;
}
-- (void)dealloc {
- // Finalize using |draggingExited:| to cancel any pending hover actions.
- [self draggingExited];
- [super dealloc];
-}
-
- (NSDragOperation)draggingEnteredButton:(BookmarkButton*)button {
if ([button isFolder]) {
if (hoverButton_ == button) {