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

Issue 2935923002: Correctly update CWVWebView properties on state restoration. (Closed)

Created:
3 years, 6 months ago by Eugene But (OOO till 7-30)
Modified:
3 years, 6 months ago
CC:
chromium-reviews, Eugene But (OOO till 7-30), ios-reviews+web_chromium.org, ios-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Correctly update CWVWebView properties on state restoration. This has regressed when properties were made KVO compiant. BUG=704038 Review-Url: https://codereview.chromium.org/2935923002 Cr-Commit-Position: refs/heads/master@{#479235} Committed: https://chromium.googlesource.com/chromium/src/+/bff5dcfbfafd7a80aedbfebb97161d9bbeedcf2f

Patch Set 1 #

Total comments: 2

Patch Set 2 : Factored code to updateTitle #

Unified diffs Side-by-side diffs Delta from patch set Stats (+13 lines, -1 line) Patch
M ios/web_view/internal/cwv_web_view.mm View 1 4 chunks +13 lines, -1 line 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (9 generated)
Eugene But (OOO till 7-30)
PTAL
3 years, 6 months ago (2017-06-13 07:34:19 UTC) #4
Hiroshi Ichikawa
lgtm Thanks for the fix! https://codereview.chromium.org/2935923002/diff/1/ios/web_view/internal/cwv_web_view.mm File ios/web_view/internal/cwv_web_view.mm (right): https://codereview.chromium.org/2935923002/diff/1/ios/web_view/internal/cwv_web_view.mm#newcode381 ios/web_view/internal/cwv_web_view.mm:381: self.title = base::SysUTF16ToNSString(_webState->GetTitle()); Optional: ...
3 years, 6 months ago (2017-06-13 07:40:11 UTC) #5
Eugene But (OOO till 7-30)
Thanks for a quick review! https://codereview.chromium.org/2935923002/diff/1/ios/web_view/internal/cwv_web_view.mm File ios/web_view/internal/cwv_web_view.mm (right): https://codereview.chromium.org/2935923002/diff/1/ios/web_view/internal/cwv_web_view.mm#newcode381 ios/web_view/internal/cwv_web_view.mm:381: self.title = base::SysUTF16ToNSString(_webState->GetTitle()); On ...
3 years, 6 months ago (2017-06-13 07:56:41 UTC) #8
michaeldo
LGTM!
3 years, 6 months ago (2017-06-13 14:40:26 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2935923002/20001
3 years, 6 months ago (2017-06-14 00:46:32 UTC) #12
commit-bot: I haz the power
3 years, 6 months ago (2017-06-14 01:01:21 UTC) #15
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/bff5dcfbfafd7a80aedbfebb9716...

Powered by Google App Engine
This is Rietveld 408576698