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

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

Issue 2610723002: Unify SurfaceInfo (Closed)
Patch Set: Cleanup offscreen canvas Created 3 years, 12 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 | « services/ui/public/cpp/window.cc ('k') | services/ui/public/cpp/window_tree_client.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: services/ui/public/cpp/window_private.h
diff --git a/services/ui/public/cpp/window_private.h b/services/ui/public/cpp/window_private.h
index c64b97708bc515fd2f5cdde64944b014d199e184..f1bd949934decc5c0832e0613109082b402938dd 100644
--- a/services/ui/public/cpp/window_private.h
+++ b/services/ui/public/cpp/window_private.h
@@ -88,8 +88,8 @@ class WindowPrivate {
const std::vector<uint8_t>* data) {
window_->LocalSetSharedProperty(name, data);
}
- void LocalSetSurfaceId(std::unique_ptr<SurfaceInfo> surface_info) {
- window_->LocalSetSurfaceId(std::move(surface_info));
+ void LocalSetSurfaceInfo(const cc::SurfaceInfo& surface_info) {
+ window_->LocalSetSurfaceInfo(surface_info);
}
void NotifyWindowStackingChanged() { window_->NotifyWindowStackingChanged(); }
« no previous file with comments | « services/ui/public/cpp/window.cc ('k') | services/ui/public/cpp/window_tree_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698