Index: services/ui/public/cpp/in_flight_change.h |
diff --git a/services/ui/public/cpp/in_flight_change.h b/services/ui/public/cpp/in_flight_change.h |
index 649aa542340fe297a7d760d563d8f9ba0b014692..ad14be96baf548764cfebde0dde6fb44d9dd7f9d 100644 |
--- a/services/ui/public/cpp/in_flight_change.h |
+++ b/services/ui/public/cpp/in_flight_change.h |
@@ -13,7 +13,6 @@ |
#include "base/macros.h" |
#include "base/memory/ptr_util.h" |
-#include "mojo/public/cpp/bindings/array.h" |
#include "services/ui/public/cpp/window_observer.h" |
#include "ui/gfx/geometry/rect.h" |
@@ -232,9 +231,10 @@ class InFlightFocusChange : public InFlightWindowTreeClientChange { |
class InFlightPropertyChange : public InFlightChange { |
public: |
- InFlightPropertyChange(Window* window, |
- const std::string& property_name, |
- const mojo::Array<uint8_t>& revert_value); |
+ InFlightPropertyChange( |
+ Window* window, |
+ const std::string& property_name, |
+ const base::Optional<std::vector<uint8_t>>& revert_value); |
~InFlightPropertyChange() override; |
// InFlightChange: |
@@ -244,7 +244,7 @@ class InFlightPropertyChange : public InFlightChange { |
private: |
const std::string property_name_; |
- mojo::Array<uint8_t> revert_value_; |
+ base::Optional<std::vector<uint8_t>> revert_value_; |
DISALLOW_COPY_AND_ASSIGN(InFlightPropertyChange); |
}; |