summaryrefslogtreecommitdiffstats
path: root/chrome/browser/cocoa/extension_view_mac.mm
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/cocoa/extension_view_mac.mm')
-rw-r--r--chrome/browser/cocoa/extension_view_mac.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/chrome/browser/cocoa/extension_view_mac.mm b/chrome/browser/cocoa/extension_view_mac.mm
index 6134fcf..feab70c 100644
--- a/chrome/browser/cocoa/extension_view_mac.mm
+++ b/chrome/browser/cocoa/extension_view_mac.mm
@@ -63,7 +63,7 @@ void ExtensionViewMac::UpdatePreferredSize(const gfx::Size& new_size) {
// On first display of some extensions, this function is called with zero
// width after the correct size has been set. Bail if zero is seen, assuming
- // that an extension popup view doesn't want any dimensions to ever be zero.
+ // that an extension's view doesn't want any dimensions to ever be zero.
// TODO(andybons): Verify this assumption and look into WebCore's
// |contentesPreferredWidth| to see why this is occurring.
if (NSIsEmptyRect(frame))
@@ -74,7 +74,7 @@ void ExtensionViewMac::UpdatePreferredSize(const gfx::Size& new_size) {
// RenderWidgetHostViewCocoa overrides setFrame but not setFrameSize.
// We need to defer the update back to the RenderWidgetHost so we don't
- // get the flickering effect on 10.5 of http://crbug.com/31970.
+ // get the flickering effect on 10.5 of http://crbug.com/31970
[hostView setFrameWithDeferredUpdate:frame];
[hostView setNeedsDisplay:YES];
}