Commit a021d47b authored by kalman@chromium.org's avatar kalman@chromium.org

Change CHECK(false) into LOG(ERROR) in ScriptBadgeController, so that the

official builds don't crash unnecessarily.

BUG=138323
TBR=jyasskin@chromium.org

Review URL: https://chromiumcodereview.appspot.com/10837276

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@151804 0039d316-1c4b-4281-b951-d872f2087c98
parent d57a089c
......@@ -128,7 +128,8 @@ void ScriptBadgeController::OnExecuteScriptFinished(
extension_id.c_str());
char buf[1024];
base::snprintf(buf, arraysize(buf), "%s", message.c_str());
CHECK(false) << message;
LOG(ERROR) << message;
return;
}
}
......@@ -204,7 +205,8 @@ void ScriptBadgeController::OnContentScriptsExecuting(
JoinExtensionIDs(extension_ids).c_str());
char buf[1024];
base::snprintf(buf, arraysize(buf), "%s", message.c_str());
CHECK(false) << message;
LOG(ERROR) << message;
return;
}
bool changed = false;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment