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

Unified Diff: content/renderer/webplugin_delegate_proxy.cc

Issue 10928072: Remove all support for the Carbon NPAPI event model (Closed) Base URL: http://git.chromium.org/chromium/src.git@test-plugin-cocoa
Patch Set: Rebase Created 8 years, 3 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
« no previous file with comments | « content/renderer/webplugin_delegate_proxy.h ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/webplugin_delegate_proxy.cc
diff --git a/content/renderer/webplugin_delegate_proxy.cc b/content/renderer/webplugin_delegate_proxy.cc
index de54a894ac4f9b37d7529b9845ec4177cecea029..7793797a134256bcbb72dc050bb52eb39c530df2 100644
--- a/content/renderer/webplugin_delegate_proxy.cc
+++ b/content/renderer/webplugin_delegate_proxy.cc
@@ -1182,8 +1182,7 @@ void WebPluginDelegateProxy::OnCancelResource(int id) {
plugin_->CancelResource(id);
}
-void WebPluginDelegateProxy::OnInvalidateRect(const gfx::Rect& rect,
- bool allow_buffer_flipping) {
+void WebPluginDelegateProxy::OnInvalidateRect(const gfx::Rect& rect) {
if (!plugin_)
return;
@@ -1195,7 +1194,7 @@ void WebPluginDelegateProxy::OnInvalidateRect(const gfx::Rect& rect,
// The plugin is blocked on the renderer because the invalidate message it has
// sent us is synchronous, so we can use buffer flipping here if the caller
// allows it.
- UpdateFrontBuffer(clipped_rect, allow_buffer_flipping);
+ UpdateFrontBuffer(clipped_rect, true);
plugin_->InvalidateRect(clipped_rect);
}
« no previous file with comments | « content/renderer/webplugin_delegate_proxy.h ('k') | webkit/glue/webkit_glue.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698