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

Unified Diff: chrome/browser/tab_contents/thumbnail_generator.cc

Issue 6320005: Fix a regression that was introduced in http://codereview.chromium.org/6010004/ (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years, 11 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/tab_contents/thumbnail_generator.cc
diff --git a/chrome/browser/tab_contents/thumbnail_generator.cc b/chrome/browser/tab_contents/thumbnail_generator.cc
index a26bca08c39766143ca231983fa211eaaa5bd4ae..c37071918801f96ded0fa3312f8f7e3d5b66f200 100644
--- a/chrome/browser/tab_contents/thumbnail_generator.cc
+++ b/chrome/browser/tab_contents/thumbnail_generator.cc
@@ -180,7 +180,7 @@ void ThumbnailGenerator::MonitorRenderer(RenderWidgetHost* renderer,
this,
NotificationType::RENDER_WIDGET_HOST_WILL_DESTROY_BACKING_STORE,
renderer_source);
- if (monitor |= currently_monitored) {
+ if (monitor != currently_monitored) {
if (monitor) {
registrar_.Add(
this,
« 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