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

Unified Diff: blimp/client/feature/ime_feature.cc

Issue 1933053003: Used oneof in blimp_message.proto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Compared specific 'case' field into DCHECKs Created 4 years, 7 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 | blimp/client/feature/navigation_feature.cc » ('j') | blimp/net/blimp_message_multiplexer.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/feature/ime_feature.cc
diff --git a/blimp/client/feature/ime_feature.cc b/blimp/client/feature/ime_feature.cc
index 5da4f8e58b930c84e08faffd602e12be641ee555..289d1305181888508d8b341488b71ed834dbe5b7 100644
--- a/blimp/client/feature/ime_feature.cc
+++ b/blimp/client/feature/ime_feature.cc
@@ -36,7 +36,7 @@ void ImeFeature::OnImeTextEntered(const std::string& text) {
void ImeFeature::ProcessMessage(std::unique_ptr<BlimpMessage> message,
const net::CompletionCallback& callback) {
DCHECK(!callback.is_null());
- DCHECK_EQ(BlimpMessage::IME, message->type());
+ DCHECK_EQ(BlimpMessage::kCompositor, message->feature_case());
DCHECK(delegate_);
« no previous file with comments | « no previous file | blimp/client/feature/navigation_feature.cc » ('j') | blimp/net/blimp_message_multiplexer.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698