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

Unified Diff: chrome/browser/ui/snapshot_tab_helper.cc

Issue 9005015: Coverity: Initialize member variables. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years 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
Index: chrome/browser/ui/snapshot_tab_helper.cc
diff --git a/chrome/browser/ui/snapshot_tab_helper.cc b/chrome/browser/ui/snapshot_tab_helper.cc
index 1a073dcf2cfa6cf9de8cbaf51d4508bb01db4884..0078d57c46088e3e1c988cf86764f08635764a6d 100644
--- a/chrome/browser/ui/snapshot_tab_helper.cc
+++ b/chrome/browser/ui/snapshot_tab_helper.cc
@@ -10,7 +10,8 @@
#include "content/public/browser/notification_service.h"
SnapshotTabHelper::SnapshotTabHelper(TabContentsWrapper* wrapper)
- : TabContentsObserver(wrapper->tab_contents()) {
+ : TabContentsObserver(wrapper->tab_contents()),
+ wrapper_(wrapper) {
}
SnapshotTabHelper::~SnapshotTabHelper() {

Powered by Google App Engine
This is Rietveld 408576698