Re-land r89864. Hopefully this won't trigger the apparent perf regression now that we've tweaked things. If it does, I'll continue to investigate.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91811 0039d316-1c4b-4281-b951-d872f2087c98
diff --git a/content/browser/tab_contents/tab_contents.cc b/content/browser/tab_contents/tab_contents.cc
index a379e31..c2ca82d 100644
--- a/content/browser/tab_contents/tab_contents.cc
+++ b/content/browser/tab_contents/tab_contents.cc
@@ -1075,7 +1075,7 @@
opener_web_ui_type_ = WebUI::kNoWebUI;
}
- if (details.is_user_initiated_main_frame_load()) {
+ if (details.is_navigation_to_different_page()) {
// Clear the status bubble. This is a workaround for a bug where WebKit
// doesn't let us know that the cursor left an element during a
// transition (this is also why the mouse cursor remains as a hand after