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

Unified Diff: chrome/browser/render_widget_host.cc

Issue 9056: This fixes bug http://code.google.com/p/chromium/issues/detail?id=3907, which... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: Created 12 years, 1 month 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/render_widget_host.cc
===================================================================
--- chrome/browser/render_widget_host.cc (revision 4467)
+++ chrome/browser/render_widget_host.cc (working copy)
@@ -788,7 +788,7 @@
// the same size as the advertised view? maybe we just assume there is a
// full paint on its way?
BackingStore* backing_store = BackingStoreManager::Lookup(this);
- if (backing_store && backing_store->size() != view_size)
+ if (!backing_store || (backing_store->size() != view_size))
return;
RECT damaged_rect, r = clip_rect.ToRECT();
« 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