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

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

Issue 1933053003: Used oneof in blimp_message.proto (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Nits 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 | « blimp/client/feature/tab_control_feature.cc ('k') | blimp/client/session/blimp_client_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: blimp/client/feature/tab_control_feature_unittest.cc
diff --git a/blimp/client/feature/tab_control_feature_unittest.cc b/blimp/client/feature/tab_control_feature_unittest.cc
index 701346d8cf6b216ae09177afd4baea81bf138a4e..471719e3253390b798e3ac018d2db0c402095acf 100644
--- a/blimp/client/feature/tab_control_feature_unittest.cc
+++ b/blimp/client/feature/tab_control_feature_unittest.cc
@@ -22,7 +22,7 @@ namespace blimp {
namespace client {
MATCHER_P3(EqualsSizeMessage, width, height, dp_to_px, "") {
- return arg.tab_control().type() == TabControlMessage::SIZE &&
+ return arg.tab_control().tab_control_case() == TabControlMessage::kSize &&
arg.tab_control().size().width() == width &&
arg.tab_control().size().height() == height &&
arg.tab_control().size().device_pixel_ratio() == dp_to_px;
« no previous file with comments | « blimp/client/feature/tab_control_feature.cc ('k') | blimp/client/session/blimp_client_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698