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

Unified Diff: content/browser/renderer_host/render_widget_host_view_mac.mm

Issue 10793022: Always invalidate whole NSView when switching to GPU mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 5 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: content/browser/renderer_host/render_widget_host_view_mac.mm
diff --git a/content/browser/renderer_host/render_widget_host_view_mac.mm b/content/browser/renderer_host/render_widget_host_view_mac.mm
index 68a1125825e38ee2918d6ac7dc297ee9565354dd..54132dfa89a96b43a3675a5e514245db42f3f697 100644
--- a/content/browser/renderer_host/render_widget_host_view_mac.mm
+++ b/content/browser/renderer_host/render_widget_host_view_mac.mm
@@ -1237,8 +1237,7 @@ void RenderWidgetHostViewMac::GotAcceleratedFrame() {
// Need to wipe the software view with transparency to expose the GL
// underlay. Invalidate the whole window to do that.
- if (!about_to_validate_and_paint_)
- [cocoa_view_ setNeedsDisplay:YES];
+ [cocoa_view_ setNeedsDisplay:YES];
// Delete software backingstore.
BackingStoreManager::RemoveBackingStore(render_widget_host_);
« 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