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

Unified Diff: chrome/browser/extensions/api/alarms/alarms_api_unittest.cc

Issue 11823052: Fix alarms_api_unittest.cc on GCC 4.6.3 linux 64 with -Werror=uninitialized: (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 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/extensions/api/alarms/alarms_api_unittest.cc
diff --git a/chrome/browser/extensions/api/alarms/alarms_api_unittest.cc b/chrome/browser/extensions/api/alarms/alarms_api_unittest.cc
index b9d1f04fb2c53b8c91f3c3d629ded15d60c14bf2..4460c298467d063034552e3aaf7d1061e08ef400 100644
--- a/chrome/browser/extensions/api/alarms/alarms_api_unittest.cc
+++ b/chrome/browser/extensions/api/alarms/alarms_api_unittest.cc
@@ -277,7 +277,7 @@ TEST_F(ExtensionAlarmsTest, CreateDelayBelowMinimum) {
const IPC::Message* warning = sink.GetUniqueMessageMatching(
ExtensionMsg_AddMessageToConsole::ID);
ASSERT_TRUE(warning);
- content::ConsoleMessageLevel level;
+ content::ConsoleMessageLevel level = content::CONSOLE_MESSAGE_LEVEL_TIP;
std::string message;
ExtensionMsg_AddMessageToConsole::Read(warning, &level, &message);
EXPECT_EQ(content::CONSOLE_MESSAGE_LEVEL_WARNING, level);
« 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