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

Unified Diff: chrome/browser/cocoa/content_blocked_bubble_controller.mm

Issue 1428002: Mac: Add geolocation content setting. (Closed)
Patch Set: Created 10 years, 9 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: chrome/browser/cocoa/content_blocked_bubble_controller.mm
diff --git a/chrome/browser/cocoa/content_blocked_bubble_controller.mm b/chrome/browser/cocoa/content_blocked_bubble_controller.mm
index e76c70e5d2efd373d4f1c9f61d5cdc74563f282d..3d92b5550c7f927be1d68cb9969a827502666be4 100644
--- a/chrome/browser/cocoa/content_blocked_bubble_controller.mm
+++ b/chrome/browser/cocoa/content_blocked_bubble_controller.mm
@@ -119,6 +119,9 @@ NSString* ReplaceNSStringPlaceholders(NSString* formatString,
}
- (void)initializeTitle {
+ if (!titleLabel_)
+ return; // Make valgrind happy for now.
viettrungluu 2010/03/26 20:50:18 Bug #?
Nico 2010/03/26 20:54:10 N/A. This will go away later today when I implemen
+
// Layout title post-localization.
CGFloat titleDeltaY = [GTMUILocalizerAndLayoutTweaker
sizeToFitFixedWidthTextField:titleLabel_];

Powered by Google App Engine
This is Rietveld 408576698