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

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: Added oneof to protocol_control.proto 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
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..a26ef23024ecca10ee2ae65df7850bdbf3cc1bb4 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::kIme, message->feature_case());
DCHECK(delegate_);
« no previous file with comments | « no previous file | blimp/client/feature/navigation_feature.cc » ('j') | blimp/client/feature/render_widget_feature.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698