Commit c934c221 authored by Pavel Feldman's avatar Pavel Feldman

Headless: remove the check for id odd-ness, it breaks the new test harness.

Change-Id: Iec34b12698d698ffe10c2273adf71ff7b4850eb8
TBR: dgozman
Reviewed-on: https://chromium-review.googlesource.com/1066985
Commit-Queue: Pavel Feldman <pfeldman@chromium.org>
Reviewed-by: default avatarPavel Feldman <pfeldman@chromium.org>
Cr-Commit-Position: refs/heads/master@{#560140}
parent 6df3d98a
...@@ -111,10 +111,7 @@ void HeadlessDevToolsClientImpl::SendRawDevToolsMessage( ...@@ -111,10 +111,7 @@ void HeadlessDevToolsClientImpl::SendRawDevToolsMessage(
NOTREACHED() << "Badly formed message " << json_message; NOTREACHED() << "Badly formed message " << json_message;
return; return;
} }
DCHECK_EQ((id_value->GetInt() % 2), 1)
<< "Raw devtools messages must have an odd ID.";
#endif #endif
agent_host_->DispatchProtocolMessage(this, json_message); agent_host_->DispatchProtocolMessage(this, json_message);
} }
......
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