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

Unified Diff: services/ui/public/cpp/window_private.cc

Issue 2607063002: Remove mojo::Array. (Closed)
Patch Set: rebase Created 3 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
Index: services/ui/public/cpp/window_private.cc
diff --git a/services/ui/public/cpp/window_private.cc b/services/ui/public/cpp/window_private.cc
index 1b7464118c8aa9ade49e6252d9d9bde32934a6c7..c8fab1bd2c744c5f2d84aaba7e6f82a1ccab365c 100644
--- a/services/ui/public/cpp/window_private.cc
+++ b/services/ui/public/cpp/window_private.cc
@@ -17,15 +17,4 @@ Window* WindowPrivate::LocalCreate() {
return new Window;
}
-void WindowPrivate::LocalSetSharedProperty(const std::string& name,
- mojo::Array<uint8_t> new_data) {
- std::vector<uint8_t> data;
- std::vector<uint8_t>* data_ptr = nullptr;
- if (!new_data.is_null()) {
- data = new_data.To<std::vector<uint8_t>>();
- data_ptr = &data;
- }
- LocalSetSharedProperty(name, data_ptr);
-}
-
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698