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_; } |