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

Issue 239993011: Lazily generate HistoryItem's serialized form state (Closed)

Created:
6 years, 8 months ago by Nate Chapin
Modified:
6 years, 8 months ago
Reviewers:
abarth-chromium
CC:
blink-reviews, gavinp+loader_chromium.org, sof, eae+blinkwatch, dglazkov+blink, adamk+blink_chromium.org, Inactive, Nate Chapin, rwlbuis
Visibility:
Public.

Description

Lazily generate HistoryItem's serialized form state Give HistoryItem access to the object that stores the list of form elements with state, then generated the serialized state when state is requested. BUG= Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=171961

Patch Set 1 #

Total comments: 10

Patch Set 2 : Merged to trunk #

Unified diffs Side-by-side diffs Delta from patch set Stats (+91 lines, -62 lines) Patch
M Source/core/dom/Document.h View 1 4 chunks +2 lines, -5 lines 0 comments Download
M Source/core/dom/Document.cpp View 1 2 chunks +6 lines, -4 lines 0 comments Download
M Source/core/html/HTMLFormControlElementWithState.cpp View 2 chunks +3 lines, -2 lines 0 comments Download
M Source/core/html/forms/FormController.h View 3 chunks +18 lines, -6 lines 0 comments Download
M Source/core/html/forms/FormController.cpp View 5 chunks +35 lines, -13 lines 0 comments Download
M Source/core/loader/FrameLoader.h View 1 chunk +0 lines, -2 lines 0 comments Download
M Source/core/loader/FrameLoader.cpp View 4 chunks +1 line, -21 lines 0 comments Download
M Source/core/loader/HistoryItem.h View 3 chunks +6 lines, -2 lines 0 comments Download
M Source/core/loader/HistoryItem.cpp View 3 chunks +17 lines, -3 lines 0 comments Download
M Source/core/testing/Internals.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/web/WebHistoryItem.cpp View 2 chunks +1 line, -2 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
Nate Chapin
https://codereview.chromium.org/239993011/diff/1/Source/core/html/HTMLFormControlElementWithState.cpp File Source/core/html/HTMLFormControlElementWithState.cpp (right): https://codereview.chromium.org/239993011/diff/1/Source/core/html/HTMLFormControlElementWithState.cpp#newcode80 Source/core/html/HTMLFormControlElementWithState.cpp:80: return inDocument() && shouldAutocomplete(); Remove the active check because ...
6 years, 8 months ago (2014-04-17 21:16:25 UTC) #1
abarth-chromium
lgtm https://codereview.chromium.org/239993011/diff/1/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/239993011/diff/1/Source/core/dom/Document.cpp#newcode1470 Source/core/dom/Document.cpp:1470: m_frame->loader().currentItem()->setDocumentState(m_formController->formElementsState()); It seems slightly odd that getting the ...
6 years, 8 months ago (2014-04-17 23:41:24 UTC) #2
Nate Chapin
https://codereview.chromium.org/239993011/diff/1/Source/core/dom/Document.cpp File Source/core/dom/Document.cpp (right): https://codereview.chromium.org/239993011/diff/1/Source/core/dom/Document.cpp#newcode1470 Source/core/dom/Document.cpp:1470: m_frame->loader().currentItem()->setDocumentState(m_formController->formElementsState()); On 2014/04/17 23:41:24, abarth wrote: > It seems ...
6 years, 8 months ago (2014-04-17 23:48:19 UTC) #3
abarth-chromium
On 2014/04/17 23:48:19, Nate Chapin wrote: > https://codereview.chromium.org/239993011/diff/1/Source/core/dom/Document.cpp > File Source/core/dom/Document.cpp (right): > > https://codereview.chromium.org/239993011/diff/1/Source/core/dom/Document.cpp#newcode1470 ...
6 years, 8 months ago (2014-04-17 23:59:34 UTC) #4
Nate Chapin
The CQ bit was checked by japhet@chromium.org
6 years, 8 months ago (2014-04-18 16:50:37 UTC) #5
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/239993011/20001
6 years, 8 months ago (2014-04-18 16:50:48 UTC) #6
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 8 months ago (2014-04-18 17:29:14 UTC) #7
commit-bot: I haz the power
Try jobs failed on following builders: tryserver.blink on win_blink_rel
6 years, 8 months ago (2014-04-18 17:29:14 UTC) #8
Nate Chapin
The CQ bit was checked by japhet@chromium.org
6 years, 8 months ago (2014-04-18 17:37:11 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/japhet@chromium.org/239993011/20001
6 years, 8 months ago (2014-04-18 17:37:23 UTC) #10
commit-bot: I haz the power
6 years, 8 months ago (2014-04-18 18:23:17 UTC) #11
Message was sent while issue was closed.
Change committed as 171961

Powered by Google App Engine
This is Rietveld 408576698