summaryrefslogtreecommitdiffstats
path: root/Source/WebKit/android/wds
diff options
context:
space:
mode:
authorSteve Block <steveblock@google.com>2012-01-09 18:34:42 +0000
committerSteve Block <steveblock@google.com>2012-01-10 15:56:31 +0000
commit6dd76b804786ec760bb04b137a6bf017064226dc (patch)
treefe6715707f69e2588307e55c05c2f40e0363f9dc /Source/WebKit/android/wds
parent5568a9850c798bc4d30002485666c70c055e3457 (diff)
downloadexternal_webkit-6dd76b804786ec760bb04b137a6bf017064226dc.zip
external_webkit-6dd76b804786ec760bb04b137a6bf017064226dc.tar.gz
external_webkit-6dd76b804786ec760bb04b137a6bf017064226dc.tar.bz2
Rename LOG_ASSERT to ALOG_ASSERT DO NOT MERGE
See https://android-git.corp.google.com/g/157519 Bug: 5449033 Change-Id: Icaed25ccf4d689b533101e966e8303810b61b0d4
Diffstat (limited to 'Source/WebKit/android/wds')
-rw-r--r--Source/WebKit/android/wds/client/AdbConnection.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/WebKit/android/wds/client/AdbConnection.cpp b/Source/WebKit/android/wds/client/AdbConnection.cpp
index fe170a9..7d02ecc 100644
--- a/Source/WebKit/android/wds/client/AdbConnection.cpp
+++ b/Source/WebKit/android/wds/client/AdbConnection.cpp
@@ -115,7 +115,7 @@ static void printFailureMessage(int fd) {
// Grab the payload length
char lenStr[PAYLOAD_LENGTH + 1];
int payloadLen = recv(fd, lenStr, sizeof(lenStr) - 1, 0);
- LOG_ASSERT(payloadLen == PAYLOAD_LENGTH, "Incorrect payload size");
+ ALOG_ASSERT(payloadLen == PAYLOAD_LENGTH, "Incorrect payload size");
lenStr[PAYLOAD_LENGTH] = 0;
// Parse the hex payload
@@ -145,7 +145,7 @@ static void printFailureMessage(int fd) {
#define ADB_RESPONSE_LENGTH 4
bool AdbConnection::checkOkayResponse() const {
- LOG_ASSERT(m_fd != -1, "Connection has been closed!");
+ ALOG_ASSERT(m_fd != -1, "Connection has been closed!");
char buf[ADB_RESPONSE_LENGTH];
int res = recv(m_fd, buf, sizeof(buf), 0);