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

Unified Diff: chrome/browser/sync/test/integration/typed_urls_helper.cc

Issue 368133005: Fixes for re-enabling more MSVC level 4 warnings: chrome/browser/ edition (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 6 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
Index: chrome/browser/sync/test/integration/typed_urls_helper.cc
diff --git a/chrome/browser/sync/test/integration/typed_urls_helper.cc b/chrome/browser/sync/test/integration/typed_urls_helper.cc
index 54fea80cefbb662d2c5e33385c84e191e4316583..63fe5d849a28c9cf9257e12b635a736b64d8496e 100644
--- a/chrome/browser/sync/test/integration/typed_urls_helper.cc
+++ b/chrome/browser/sync/test/integration/typed_urls_helper.cc
@@ -183,7 +183,7 @@ bool GetUrlFromHistoryService(HistoryService* service,
const GURL& url, history::URLRow* row) {
CancelableRequestConsumer cancelable_consumer;
base::WaitableEvent wait_event(true, false);
- bool found;
+ bool found = false;
service->ScheduleDBTask(new GetUrlTask(url, row, &found, &wait_event),
&cancelable_consumer);
wait_event.Wait();

Powered by Google App Engine
This is Rietveld 408576698