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

Unified Diff: chrome/browser/autocomplete/autocomplete_popup_view_mac.mm

Issue 390014: Total guess fix for the bug.... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 11 years, 1 month 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 | chrome/browser/cocoa/download_shelf_controller.mm » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/autocomplete/autocomplete_popup_view_mac.mm
===================================================================
--- chrome/browser/autocomplete/autocomplete_popup_view_mac.mm (revision 31696)
+++ chrome/browser/autocomplete/autocomplete_popup_view_mac.mm (working copy)
@@ -44,7 +44,7 @@
const CGFloat kTextXOffset = 33.0;
// Animation duration when animating the popup window smaller.
-const float kShrinkAnimationDuration = 0.1;
+const CGFloat kShrinkAnimationDuration = 0.1;
// Maximum fraction of the popup width that can be used to display match
// contents.
@@ -365,6 +365,7 @@
}
void AutocompletePopupViewMac::UpdatePopupAppearance() {
+ DCHECK([NSThread isMainThread]);
const AutocompleteResult& result = model_->result();
if (result.empty()) {
[[popup_ parentWindow] removeChildWindow:popup_];
« no previous file with comments | « no previous file | chrome/browser/cocoa/download_shelf_controller.mm » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698