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

Unified Diff: components/arc/test/fake_app_instance.h

Issue 1527183003: Change mojo enums to be scoped enums in the generated C++ bindings. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@mojo-binding-equals
Patch Set: rebase Created 4 years, 11 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 | « components/arc/power/arc_power_bridge.cc ('k') | components/arc/test/fake_app_instance.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/arc/test/fake_app_instance.h
diff --git a/components/arc/test/fake_app_instance.h b/components/arc/test/fake_app_instance.h
index 509c4513997d243d5f88f11b4d731bd70d91bb2a..a078ea79aad5611b2551e08fad7c75eedf0bf5c3 100644
--- a/components/arc/test/fake_app_instance.h
+++ b/components/arc/test/fake_app_instance.h
@@ -43,7 +43,8 @@ class FakeAppInstance : public AppInstance {
IconRequest(const std::string& package,
const std::string& activity,
ScaleFactor scale_factor)
- : Request(package, activity), scale_factor_(scale_factor) {}
+ : Request(package, activity),
+ scale_factor_(static_cast<int>(scale_factor)) {}
~IconRequest() {}
int scale_factor() const { return scale_factor_; }
« no previous file with comments | « components/arc/power/arc_power_bridge.cc ('k') | components/arc/test/fake_app_instance.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698