| Index: services/ui/view_manager/view_layout_request.h
|
| diff --git a/services/ui/view_manager/view_layout_request.h b/services/ui/view_manager/view_layout_request.h
|
| index 8091d2fce621fa8894e033f524f9a259f413698f..e2a63abceed5d0f9af25e76e741350769a77d9b9 100644
|
| --- a/services/ui/view_manager/view_layout_request.h
|
| +++ b/services/ui/view_manager/view_layout_request.h
|
| @@ -27,7 +27,9 @@ class ViewLayoutRequest {
|
|
|
| // Gets the layout parameters for this request.
|
| // Does not confer ownership.
|
| - mojo::ui::ViewLayoutParams* layout_params() { return layout_params_.get(); }
|
| + const mojo::ui::ViewLayoutParams* layout_params() const {
|
| + return layout_params_.get();
|
| + }
|
|
|
| // Gets the layout parameters for this request and takes ownership.
|
| mojo::ui::ViewLayoutParamsPtr TakeLayoutParams() {
|
| @@ -44,7 +46,7 @@ class ViewLayoutRequest {
|
| // Sends the layout information to each client.
|
| // Must be invoked exactly once before destroying the request to prevent
|
| // dangling callbacks.
|
| - void DispatchLayoutInfo(mojo::ui::ViewLayoutInfo* info);
|
| + void DispatchLayoutInfo(mojo::ui::ViewLayoutInfoPtr info);
|
|
|
| // True if the request has been issued to the view.
|
| // False if it is still pending in the queue.
|
|
|