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

Unified Diff: chrome/browser/renderer_host/render_widget_host.cc

Issue 20211: MovePluginWindows should always be called, even if suppress_view_updating_ is... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 11 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/renderer_host/render_widget_host.cc
===================================================================
--- chrome/browser/renderer_host/render_widget_host.cc (revision 9414)
+++ chrome/browser/renderer_host/render_widget_host.cc (working copy)
@@ -440,11 +440,13 @@
return;
// Now paint the view. Watch out: it might be destroyed already.
- if (view_ && !suppress_view_updating_) {
- view_being_painted_ = true;
+ if (view_) {
view_->MovePluginWindows(params.plugin_window_moves);
- view_->DidPaintRect(params.bitmap_rect);
- view_being_painted_ = false;
+ if (!suppress_view_updating_) {
+ view_being_painted_ = true;
+ view_->DidPaintRect(params.bitmap_rect);
+ view_being_painted_ = false;
+ }
}
if (paint_observer_.get())
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698