diff options
author | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 21:57:55 +0000 |
---|---|---|
committer | thakis@chromium.org <thakis@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-09-29 21:57:55 +0000 |
commit | 808ae47cffd55a3d761151eb4da93a5befefd922 (patch) | |
tree | a79e4c18a416647f937db3a1c34c5a489f1434a9 /chrome/browser/renderer_host | |
parent | e6cddc57b52f1d9fc848d76f7b2825add49f62bd (diff) | |
download | chromium_src-808ae47cffd55a3d761151eb4da93a5befefd922.zip chromium_src-808ae47cffd55a3d761151eb4da93a5befefd922.tar.gz chromium_src-808ae47cffd55a3d761151eb4da93a5befefd922.tar.bz2 |
Mac: Comment tweaks requested in http://codereview.chromium.org/3549004
BUG=none
TEST=none
Review URL: http://codereview.chromium.org/3576004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@60995 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host')
-rw-r--r-- | chrome/browser/renderer_host/render_widget_host_view_mac.mm | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host_view_mac.mm b/chrome/browser/renderer_host/render_widget_host_view_mac.mm index a9198dc..a878ccc 100644 --- a/chrome/browser/renderer_host/render_widget_host_view_mac.mm +++ b/chrome/browser/renderer_host/render_widget_host_view_mac.mm @@ -290,6 +290,8 @@ static CVReturn DrawOneAcceleratedPluginCallback( - (void)globalFrameDidChange:(NSNotification*)notification { globalFrameDidChangeCGLLockCount_++; CGLLockContext(cglContext_); + // This call to -update can call -globalFrameDidChange: again, see + // http://crbug.com/55754 comments 22 and 24. [glContext_ update]; // You would think that -update updates the viewport. You would be wrong. @@ -346,8 +348,8 @@ static CVReturn DrawOneAcceleratedPluginCallback( CVDisplayLinkStop(displayLink_); } - // If hole pushing is enabled, inform the window hosing this accelerated view - // that it needs to be opaque. + // If hole punching is enabled, inform the window hosting this accelerated + // view that it needs to be opaque. if (!CommandLine::ForCurrentProcess()->HasSwitch( switches::kDisableHolePunching)) { if ([[self window] respondsToSelector:@selector(underlaySurfaceRemoved)]) { |