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

Issue 2706193003: FrameView: Remove redundant tree walk when unthrottling display:none frames (Closed)

Created:
3 years, 10 months ago by Sami
Modified:
3 years, 10 months ago
Reviewers:
esprehn
CC:
blink-reviews, chromium-reviews, kinuko+watch
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

FrameView: Remove redundant tree walk when unthrottling display:none frames When unthrottling display:none frames, there's no need to synchronously unthrottle child frames because 1) we're about to walk the subtree anyway and 2) to match Safari's behavior we actually want to keep children of display:none frames throttled. No functional changes, but added a new test to check how children of display:none frames behave. BUG=680925 TEST=https://jsfiddle.net/ohpkjn9p/2 Review-Url: https://codereview.chromium.org/2706193003 Cr-Commit-Position: refs/heads/master@{#452448} Committed: https://chromium.googlesource.com/chromium/src/+/6d58fe57ab739bbc26291e04bce804721ba5b93d

Patch Set 1 #

Patch Set 2 : Enums ftw #

Unified diffs Side-by-side diffs Delta from patch set Stats (+60 lines, -10 lines) Patch
M third_party/WebKit/Source/core/frame/FrameView.h View 1 1 chunk +11 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/core/frame/FrameView.cpp View 1 4 chunks +17 lines, -7 lines 0 comments Download
M third_party/WebKit/Source/web/tests/FrameThrottlingTest.cpp View 1 chunk +32 lines, -0 lines 0 comments Download

Messages

Total messages: 20 (13 generated)
Sami
3 years, 10 months ago (2017-02-21 12:33:32 UTC) #5
esprehn
lgtm, we often use an enum instead of bools and comments too.
3 years, 10 months ago (2017-02-21 19:41:36 UTC) #9
Sami
On 2017/02/21 19:41:36, esprehn wrote: > lgtm, we often use an enum instead of bools ...
3 years, 10 months ago (2017-02-22 17:56:50 UTC) #10
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/2706193003/20001
3 years, 10 months ago (2017-02-22 17:57:35 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: android_arm64_dbg_recipe on master.tryserver.chromium.android (JOB_FAILED, https://build.chromium.org/p/tryserver.chromium.android/builders/android_arm64_dbg_recipe/builds/215719)
3 years, 10 months ago (2017-02-22 18:17:35 UTC) #15
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/2706193003/20001
3 years, 10 months ago (2017-02-23 10:19:57 UTC) #17
commit-bot: I haz the power
3 years, 10 months ago (2017-02-23 10:54:43 UTC) #20
Message was sent while issue was closed.
Committed patchset #2 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/6d58fe57ab739bbc26291e04bce8...

Powered by Google App Engine
This is Rietveld 408576698