diff options
author | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 20:37:32 +0000 |
---|---|---|
committer | stuartmorgan@chromium.org <stuartmorgan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-03-24 20:37:32 +0000 |
commit | 2b8e7ca060b5c7cae81676c233039c33c5ce080f (patch) | |
tree | b5c95d3faf434986d5b72fcaf47953d19fcc7d73 /webkit/glue | |
parent | 49197be99114da1a1b5dc70810dc94cd8c9096a4 (diff) | |
download | chromium_src-2b8e7ca060b5c7cae81676c233039c33c5ce080f.zip chromium_src-2b8e7ca060b5c7cae81676c233039c33c5ce080f.tar.gz chromium_src-2b8e7ca060b5c7cae81676c233039c33c5ce080f.tar.bz2 |
Remove the unnecessary 'commit' call in Core Animation plugin drawing
BUG=none
TEST=Core Animation plugins should continue to work.
Review URL: http://codereview.chromium.org/1254003
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@42524 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue')
-rw-r--r-- | webkit/glue/plugins/webplugin_delegate_impl_mac.mm | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/webkit/glue/plugins/webplugin_delegate_impl_mac.mm b/webkit/glue/plugins/webplugin_delegate_impl_mac.mm index 5996d33..54ae151 100644 --- a/webkit/glue/plugins/webplugin_delegate_impl_mac.mm +++ b/webkit/glue/plugins/webplugin_delegate_impl_mac.mm @@ -428,9 +428,6 @@ void WebPluginDelegateImpl::DrawLayerInSurface() { surface_->Clear(window_rect_); - // Ensure all changes are made before rendering. Not sure where the |-begin| - // comes from, but not doing this causes nothing to render. - [CATransaction commit]; [renderer_ beginFrameAtTime:CACurrentMediaTime() timeStamp:NULL]; CGRect layerRect = [layer_ bounds]; [renderer_ addUpdateRect:layerRect]; |