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

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

Issue 2610723002: Unify SurfaceInfo (Closed)
Patch Set: More cleanup 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
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(); }

Powered by Google App Engine
This is Rietveld 408576698