New issue
Advanced search Search tips

Issue 683207 link

Starred by 1 user

Issue metadata

Status: Fixed
Owner:
Closed: Jun 2017
Cc:
EstimatedDays: ----
NextAction: ----
OS: iOS
Pri: 3
Type: Task

Blocked on:
issue 684616



Sign in to add a comment

WebClient::CreateWebMainParts() should return std::unique_ptr<>

Project Member Reported by michaeldo@chromium.org, Jan 20 2017

Issue description

To make ownership clear, WebClient::CreateWebMainParts() should return a std::unique_ptr<> since the returned value is held in a unique_ptr<> in web_main_loop.
 
Cc: -michaeldo@chromium.org
Owner: michaeldo@chromium.org
Status: Started (was: Untriaged)
Blockedon: 684616
Status: Assigned (was: Started)
This has been started here:
https://codereview.chromium.org/2647943004/

However, I was blocked by a dependency cycle that was not easy to break when adding the import to ios/web/public/web_client.mm. (The import is needed for unique_ptr.)

Instead of //ios/web/app depending on ios/web, it should depend on pieces of //ios/web after it is broken up.
Components: Mobile>WebView>Glue
Labels: -Type-Feature Type-Task
Cc: sdefresne@chromium.org
Looks like this CL fixes the issue: https://chromium-review.googlesource.com/c/519263/
Status: Fixed (was: Assigned)
You're right, thank you sdefresne!

Sign in to add a comment