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

Issue 1546603003: Ensure zoom level is not updated if main frame is WebRemoteFrame. (Closed)

Created:
5 years ago by nasko
Modified:
5 years ago
CC:
blink-reviews, blink-reviews-api_chromium.org, chromium-reviews, creis+watch_chromium.org, darin-cc_chromium.org, dglazkov+blink, jam, jochen+watch_chromium.org, mkwst+moarreviews-renderer_chromium.org, mkwst+moarreviews-shell_chromium.org, mlamouri+watch-test-runner_chromium.org, mlamouri+watch-content_chromium.org, nasko+codewatch_chromium.org, Peter Beverloo, site-isolation-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Ensure zoom level is not updated if main frame is WebRemoteFrame. When swapped out RenderFrame is not used, the RenderView/WebView does not have a main WebLocalFrame. This CL ensures the WebView code is not called in such cases until it is updated to properly handle out-of-process iframes. BUG=571603 Committed: https://crrev.com/eaa6adc9f2b8463b7f5859e3b9faffecdd5225f1 Cr-Commit-Position: refs/heads/master@{#366698}

Patch Set 1 #

Total comments: 3

Patch Set 2 : Add a TODO. #

Patch Set 3 : Move check into Blink. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+36 lines, -5 lines) Patch
M content/public/test/render_view_test.cc View 1 chunk +1 line, -1 line 0 comments Download
M content/renderer/render_view_browsertest.cc View 1 2 1 chunk +24 lines, -0 lines 0 comments Download
M content/renderer/render_view_impl.h View 1 chunk +2 lines, -0 lines 0 comments Download
M content/shell/renderer/layout_test/leak_detector.cc View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/web/WebLeakDetector.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/web/WebViewImpl.cpp View 1 2 1 chunk +5 lines, -0 lines 0 comments Download
M third_party/WebKit/public/web/WebLeakDetector.h View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 15 (5 generated)
nasko
Hey Daniel, Can you look over the changes I made to the leak detector? The ...
5 years ago (2015-12-22 18:08:56 UTC) #2
dcheng
https://codereview.chromium.org/1546603003/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1546603003/diff/1/content/renderer/render_view_impl.cc#newcode3725 content/renderer/render_view_impl.cc:3725: if (webview()->mainFrame()->isWebRemoteFrame()) Is this a temporary workaround? Or is ...
5 years ago (2015-12-22 18:27:36 UTC) #3
nasko
https://codereview.chromium.org/1546603003/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1546603003/diff/1/content/renderer/render_view_impl.cc#newcode3725 content/renderer/render_view_impl.cc:3725: if (webview()->mainFrame()->isWebRemoteFrame()) On 2015/12/22 18:27:36, dcheng wrote: > Is ...
5 years ago (2015-12-22 18:31:07 UTC) #4
dcheng
lgtm https://codereview.chromium.org/1546603003/diff/1/content/renderer/render_view_impl.cc File content/renderer/render_view_impl.cc (right): https://codereview.chromium.org/1546603003/diff/1/content/renderer/render_view_impl.cc#newcode3725 content/renderer/render_view_impl.cc:3725: if (webview()->mainFrame()->isWebRemoteFrame()) On 2015/12/22 at 18:31:06, nasko wrote: ...
5 years ago (2015-12-22 18:35:13 UTC) #5
nasko
Hey Nick, Can you review this CL for me? Thanks! Nasko
5 years ago (2015-12-22 19:32:02 UTC) #7
dcheng
lgtm
5 years ago (2015-12-22 23:19:26 UTC) #8
Avi (use Gerrit)
lgtm stampity stamp
5 years ago (2015-12-22 23:22:46 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1546603003/40001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1546603003/40001
5 years ago (2015-12-22 23:25:17 UTC) #12
commit-bot: I haz the power
Committed patchset #3 (id:40001)
5 years ago (2015-12-23 00:16:56 UTC) #13
commit-bot: I haz the power
5 years ago (2015-12-23 00:17:40 UTC) #15
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/eaa6adc9f2b8463b7f5859e3b9faffecdd5225f1
Cr-Commit-Position: refs/heads/master@{#366698}

Powered by Google App Engine
This is Rietveld 408576698