|
|
Chromium Code Reviews
DescriptionEnsure paint properties are rebuilt on window resizes
This patch ensures the FrameView paint properties are rebuilt when the window
resizes. This fixes a crash if you resized wikipedia.
BUG=667946
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
Committed: https://crrev.com/9a8e6df44aadd67e582db1200cd25ccd7ecf8d43
Cr-Commit-Position: refs/heads/master@{#434790}
Patch Set 1 #Patch Set 2 : Rebase #
Total comments: 3
Messages
Total messages: 30 (19 generated)
Description was changed from ========== Ensure paint properties are rebuilt on window resizes This patch ensures the FrameView paint properties are rebuilt when the window resizes. This fixes a crash if you resized wikipedia. BUG=667946 ========== to ========== Ensure paint properties are rebuilt on window resizes This patch ensures the FrameView paint properties are rebuilt when the window resizes. This fixes a crash if you resized wikipedia. BUG=667946 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ==========
The CQ bit was checked by pdr@chromium.org to run a CQ dry run
pdr@chromium.org changed reviewers: + wangxianzhu@chromium.org
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by pdr@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
The CQ bit was checked by pdr@chromium.org to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
https://codereview.chromium.org/2524733005/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2524733005/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/frame/FrameView.cpp:3565: if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { slimmingPaintInvalidationEnabled?
https://codereview.chromium.org/2524733005/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2524733005/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/frame/FrameView.cpp:3565: if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { On 2016/11/27 at 18:00:04, Xianzhu wrote: > slimmingPaintInvalidationEnabled? I've been using RuntimeEnabledFeatures::slimmingPaintV2Enabled for the paint property tree invalidation work so far, but that may have been a mistake. Should it be behind RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled? If so, which parts should be slimmingPaintInvalidationEnabled vs slimmingPaintV2Enabled?
https://codereview.chromium.org/2524733005/diff/20001/third_party/WebKit/Sour... File third_party/WebKit/Source/core/frame/FrameView.cpp (right): https://codereview.chromium.org/2524733005/diff/20001/third_party/WebKit/Sour... third_party/WebKit/Source/core/frame/FrameView.cpp:3565: if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { On 2016/11/28 03:15:05, pdr. wrote: > On 2016/11/27 at 18:00:04, Xianzhu wrote: > > slimmingPaintInvalidationEnabled? > > I've been using RuntimeEnabledFeatures::slimmingPaintV2Enabled for the paint > property tree invalidation work so far, but that may have been a mistake. Should > it be behind RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled? If so, > which parts should be slimmingPaintInvalidationEnabled vs > slimmingPaintV2Enabled? Oh, I didn't notice this before. We should use slimmingPaintInvalidationEnabled where it's guarding property tree building.
On 2016/11/28 at 17:56:00, wangxianzhu wrote: > https://codereview.chromium.org/2524733005/diff/20001/third_party/WebKit/Sour... > File third_party/WebKit/Source/core/frame/FrameView.cpp (right): > > https://codereview.chromium.org/2524733005/diff/20001/third_party/WebKit/Sour... > third_party/WebKit/Source/core/frame/FrameView.cpp:3565: if (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { > On 2016/11/28 03:15:05, pdr. wrote: > > On 2016/11/27 at 18:00:04, Xianzhu wrote: > > > slimmingPaintInvalidationEnabled? > > > > I've been using RuntimeEnabledFeatures::slimmingPaintV2Enabled for the paint > > property tree invalidation work so far, but that may have been a mistake. Should > > it be behind RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled? If so, > > which parts should be slimmingPaintInvalidationEnabled vs > > slimmingPaintV2Enabled? > > Oh, I didn't notice this before. We should use slimmingPaintInvalidationEnabled where it's guarding property tree building. Ok, mind if I do this in a big followup?
On 2016/11/28 19:03:16, pdr. wrote: > On 2016/11/28 at 17:56:00, wangxianzhu wrote: > > > https://codereview.chromium.org/2524733005/diff/20001/third_party/WebKit/Sour... > > File third_party/WebKit/Source/core/frame/FrameView.cpp (right): > > > > > https://codereview.chromium.org/2524733005/diff/20001/third_party/WebKit/Sour... > > third_party/WebKit/Source/core/frame/FrameView.cpp:3565: if > (RuntimeEnabledFeatures::slimmingPaintV2Enabled()) { > > On 2016/11/28 03:15:05, pdr. wrote: > > > On 2016/11/27 at 18:00:04, Xianzhu wrote: > > > > slimmingPaintInvalidationEnabled? > > > > > > I've been using RuntimeEnabledFeatures::slimmingPaintV2Enabled for the paint > > > property tree invalidation work so far, but that may have been a mistake. > Should > > > it be behind RuntimeEnabledFeatures::slimmingPaintInvalidationEnabled? If > so, > > > which parts should be slimmingPaintInvalidationEnabled vs > > > slimmingPaintV2Enabled? > > > > Oh, I didn't notice this before. We should use > slimmingPaintInvalidationEnabled where it's guarding property tree building. > > Ok, mind if I do this in a big followup? LGTM.
The CQ bit was checked by wangxianzhu@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
The CQ bit was unchecked by commit-bot@chromium.org
Try jobs failed on following builders: win_chromium_x64_rel_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_x64_...)
The CQ bit was checked by pdr@chromium.org
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
CQ is committing da patch.
Bot data: {"patchset_id": 20001, "attempt_start_ts": 1480374434816710,
"parent_rev": "435969030f594247cefe22ab43766dc7bef9374f", "commit_rev":
"a8c0047a8e98edddc7c4cbf8586ad298193fc896"}
Message was sent while issue was closed.
Committed patchset #2 (id:20001)
Message was sent while issue was closed.
Description was changed from ========== Ensure paint properties are rebuilt on window resizes This patch ensures the FrameView paint properties are rebuilt when the window resizes. This fixes a crash if you resized wikipedia. BUG=667946 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ========== to ========== Ensure paint properties are rebuilt on window resizes This patch ensures the FrameView paint properties are rebuilt when the window resizes. This fixes a crash if you resized wikipedia. BUG=667946 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Committed: https://crrev.com/9a8e6df44aadd67e582db1200cd25ccd7ecf8d43 Cr-Commit-Position: refs/heads/master@{#434790} ==========
Message was sent while issue was closed.
Patchset 2 (id:??) landed as https://crrev.com/9a8e6df44aadd67e582db1200cd25ccd7ecf8d43 Cr-Commit-Position: refs/heads/master@{#434790} |
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
