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

Issue 2917343004: Move LoadHTMLString method from WebFrame to WebLocalFrame. (Closed)

Created:
3 years, 6 months ago by Łukasz Anforowicz
Modified:
3 years, 6 months ago
Reviewers:
dcheng
CC:
chromium-reviews, mlamouri+watch-blink_chromium.org, dcheng, dglazkov+blink, blink-reviews, kinuko+watch, blink-reviews-api_chromium.org, platform-architecture-syd+reviews-web_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Move LoadHTMLString method from WebFrame to WebLocalFrame. Most callers were already calling through WebLocalFrame (tests had to be changed to use MainFrameImpl accessor to realize that). One test caller (ParameterizedWebFrameTest.GetContentAsPlainText) cannot guarantee at compile time that it has a local frame, but in practice the new ToWebLocalFrame() passes all tests. No intended behavior change. BUG=416660 Review-Url: https://codereview.chromium.org/2917343004 Cr-Commit-Position: refs/heads/master@{#477381} Committed: https://chromium.googlesource.com/chromium/src/+/bb1cff19414a4a999dc667baae35dd37ed9d545c

Patch Set 1 #

Total comments: 2

Messages

Total messages: 14 (10 generated)
Łukasz Anforowicz
dcheng@, can you PTAL? https://codereview.chromium.org/2917343004/diff/1/third_party/WebKit/Source/web/tests/WebFrameTest.cpp File third_party/WebKit/Source/web/tests/WebFrameTest.cpp (right): https://codereview.chromium.org/2917343004/diff/1/third_party/WebKit/Source/web/tests/WebFrameTest.cpp#newcode4804 third_party/WebKit/Source/web/tests/WebFrameTest.cpp:4804: WebLocalFrame* subframe = frame->FirstChild()->ToWebLocalFrame(); This ...
3 years, 6 months ago (2017-06-06 18:25:44 UTC) #7
dcheng
lgtm https://codereview.chromium.org/2917343004/diff/1/third_party/WebKit/Source/web/tests/WebFrameTest.cpp File third_party/WebKit/Source/web/tests/WebFrameTest.cpp (right): https://codereview.chromium.org/2917343004/diff/1/third_party/WebKit/Source/web/tests/WebFrameTest.cpp#newcode4804 third_party/WebKit/Source/web/tests/WebFrameTest.cpp:4804: WebLocalFrame* subframe = frame->FirstChild()->ToWebLocalFrame(); On 2017/06/06 18:25:44, Łukasz ...
3 years, 6 months ago (2017-06-06 19:49:49 UTC) #8
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/2917343004/1
3 years, 6 months ago (2017-06-06 19:53:46 UTC) #11
commit-bot: I haz the power
3 years, 6 months ago (2017-06-06 19:58:44 UTC) #14
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/bb1cff19414a4a999dc667baae35...

Powered by Google App Engine
This is Rietveld 408576698