|
|
Created:
4 years, 6 months ago by Julien Isorce Samsung Modified:
4 years, 4 months ago CC:
chromium-reviews, tfarina, noyau+watch_chromium.org, dgozman Base URL:
https://chromium.googlesource.com/chromium/src.git@master Target Ref:
refs/pending/heads/master Project:
chromium Visibility:
Public. |
DescriptionReplace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND
This fixes issues where the ntp background image was
interrupted underneath the detached bookmark bar.
Also the ntp_background color is now forced to be opaque
even if a none opaque alpha value is provided from the
theme. This prevent issues with subpixel AA which does not
work on none opaque background. (and to avoid falling back
to grayscale AA)
Also see crbug.com/618278
BUG=618335
R=estade@chromium.org, pkasting@chromium.org
Committed: https://crrev.com/bb4e97590966ba4138b759b8a6450e526a24fa27
Cr-Commit-Position: refs/heads/master@{#405725}
Patch Set 1 #Patch Set 2 : Fix build with clang #Patch Set 3 : More clang build fix #
Total comments: 2
Patch Set 4 : Rebase and use SkColorSetA instead of direct bit manipulation #Patch Set 5 : Rebase and force opaque for color_ntp_background from the theme machinery #
Total comments: 6
Patch Set 6 : Rebase and address few nits #Patch Set 7 : Add brackets #
Total comments: 2
Patch Set 8 : Rebase and use SetRGB everywhere #Patch Set 9 : Rebase #Patch Set 10 : Propery handle incognito mode #
Total comments: 1
Patch Set 11 : Fix const #Patch Set 12 : Bring back Patch Set 8 that landed before the revert #Messages
Total messages: 80 (41 generated)
The CQ bit was checked by j.isorce@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2062353002/1
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_gn_chromeos_rel on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by j.isorce@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2062353002/20001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_...)
The CQ bit was checked by j.isorce@samsung.com to run a CQ dry run
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2062353002/40001
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: This issue passed the CQ dry run.
Description was changed from ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND BUG= ========== to ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND BUG=618335 R=pkasting@chromium.org ==========
j.isorce@samsung.com changed reviewers: + estade@chromium.org, pkasting@chromium.org
On 2016/06/15 13:11:23, commit-bot: I haz the power wrote: > Dry run: This issue passed the CQ dry run. Hi, please have a look. I had to make it opaque in PaintDetachedBookmarkBar otherwise the text does not render properly when ntp background is not opaque. Also I am not sure about ConstrainedWindowCustomWindow, seems to be Mac specific. Thx
I've been delaying reviewing this because before proceeding this direction I need to better understand what the impact is for themes which set an NTP background image. We wouldn't want the background image to be interrupted underneath the detached bookmark bar, I don't think. I haven't yet patched this in locally and tested with and without it.
Since I'm going to be out for several days, you're welcome to help gather some of this info yourself: find a theme that sets an NTP background image and take screenshots of the NTP with the detached and attached bookmark bars before and after this change, and put them on the bug.
On 2016/06/22 23:46:36, Peter Kasting (OOO) wrote: > Since I'm going to be out for several days, you're welcome to help gather some > of this info yourself: find a theme that sets an NTP background image and take > screenshots of the NTP with the detached and attached bookmark bars before and > after this change, and put them on the bug. Done here crbug.com/618335. Note that I made a very simple manifest.json that just set the ntp_background color to [0, 150, 0]. Let me know if you really need it for "image", not color. But form the screenshots you will see that it already highlights what you described your n-1 message.
I think the effect here is not worse than today, so I'm OK with the general direction. https://codereview.chromium.org/2062353002/diff/40001/chrome/browser/ui/views... File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/2062353002/diff/40001/chrome/browser/ui/views... chrome/browser/ui/views/frame/browser_view.cc:229: tp->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND) | 0xFF000000); Use SkColorSetA() instead of direct bit manipulation. But maybe we should force this color to opaque down in the theme code? Do we ever want to allow a transparent color for COLOR_NTP_BACKGROUND? What sorts of effects do we get today with a partly-transparent NTP background color?
https://codereview.chromium.org/2062353002/diff/40001/chrome/browser/ui/views... File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/2062353002/diff/40001/chrome/browser/ui/views... chrome/browser/ui/views/frame/browser_view.cc:229: tp->GetColor(ThemeProperties::COLOR_NTP_BACKGROUND) | 0xFF000000); On 2016/07/01 01:10:02, Peter Kasting wrote: > Use SkColorSetA() instead of direct bit manipulation. > Done thx! > But maybe we should force this color to opaque down in the theme code? Do we > ever want to allow a transparent color for COLOR_NTP_BACKGROUND? What sorts of > effects do we get today with a partly-transparent NTP background color? I added 2 new screenshots in the bug. One that does not force opaque in that place. (in browser_view.cc), and second screenshot that shows result with this CL. I think we should keep the force opaque just here, not down in the theme because I think alpha channel should be customizable too.
The CQ bit was checked by j.isorce@samsung.com 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.
Based on the screenshots in the bug, we should force this to opaque in the theme machinery. We don't want the NTP to actually be semi-transparent, and it can cause bugs with font rendering. This isn't the first such change made recently; I'm beginning to wonder how many theme colors should be allowed to be transparent at all...
On 2016/07/01 20:18:21, Peter Kasting wrote: > Based on the screenshots in the bug, we should force this to opaque in the theme > machinery. We don't want the NTP to actually be semi-transparent, and it can > cause bugs with font rendering. > Don't you think this can break some existing theme if we do that ? Also rrom my point of view I think this is useful to customize the alpha channel. I was actually thinking to build a such theme. And if there are bugs we should fix them. Could be guarded by a flag as a start: --enable-alpha-channel-for-ntp-background ? > This isn't the first such change made recently; I'm beginning to wonder how many > theme colors should be allowed to be transparent at all...
On 2016/07/04 16:47:37, Julien Isorce wrote: > On 2016/07/01 20:18:21, Peter Kasting wrote: > > Based on the screenshots in the bug, we should force this to opaque in the > theme > > machinery. We don't want the NTP to actually be semi-transparent, and it can > > cause bugs with font rendering. > > > > Don't you think this can break some existing theme if we do that ? > Also rrom my point of view I think this is useful to customize the alpha > channel. > I was actually thinking to build a such theme. And if there are bugs we should > fix them. You can't render text with subpixel AA on a non-opaque background. That makes this unsupportable. Themes doing this are doing something we never intended to allow anyway, so we should just disable this and be done with it.
On 2016/07/06 20:42:48, Peter Kasting wrote: > On 2016/07/04 16:47:37, Julien Isorce wrote: > > On 2016/07/01 20:18:21, Peter Kasting wrote: > > > Based on the screenshots in the bug, we should force this to opaque in the > > theme > > > machinery. We don't want the NTP to actually be semi-transparent, and it > can > > > cause bugs with font rendering. > > > > > > > Don't you think this can break some existing theme if we do that ? > > Also rrom my point of view I think this is useful to customize the alpha > > channel. > > I was actually thinking to build a such theme. And if there are bugs we should > > fix them. > > You can't render text with subpixel AA on a non-opaque background. That makes > this unsupportable. Isn't supposed to fallback to grayscale AA in that case ? I am saying this because I read http://www.html5rocks.com/en/tutorials/internals/antialiasing-101/ and it seems this logic is implemented for all layers (root and non-root). > > Themes doing this are doing something we never intended to allow anyway, so we > should just disable this and be done with it. No problem I will make it "force ntp background to opaque in the theme machinery" as you said. Thx.
Description was changed from ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND BUG=618335 R=pkasting@chromium.org ========== to ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND This fixes issues where the ntp background image was interrupted underneath the detached bookmark bar. Also the ntp_background color is now forced to be opaque even if a none opaque alpha value is provided from the theme. This prevent issues with subpixel AA which does not work on none opaque background. (and to avoid falling back to grayscale AA) Also see crbug.com/618278 BUG=618335 R=pkasting@chromium.org ==========
The CQ bit was checked by j.isorce@samsung.com 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.
On 2016/07/07 10:28:15, commit-bot: I haz the power wrote: > Dry run: This issue passed the CQ dry run. On 2016/07/01 20:18:21, Peter Kasting wrote: > we should force this to opaque in the theme Done in Patch Set 5, please have a look. Thx.
LGTM https://codereview.chromium.org/2062353002/diff/80001/chrome/browser/themes/b... File chrome/browser/themes/browser_theme_pack.cc (right): https://codereview.chromium.org/2062353002/diff/80001/chrome/browser/themes/b... chrome/browser/themes/browser_theme_pack.cc:797: case ThemeProperties::COLOR_NTP_BACKGROUND: Nit: This is fine, but I probably would have just done it with an if statement as before, which is shorter and not really less readable. https://codereview.chromium.org/2062353002/diff/80001/chrome/browser/themes/b... File chrome/browser/themes/browser_theme_pack_unittest.cc (right): https://codereview.chromium.org/2062353002/diff/80001/chrome/browser/themes/b... chrome/browser/themes/browser_theme_pack_unittest.cc:453: // Verify that the theme machinery forces ntp_background color to be opaque. Nit: Let's combine the toolbar and NTP background color checks into one block below the other color checks, with one comment, a la "The theme machinery forces these colors to be opaque." https://codereview.chromium.org/2062353002/diff/80001/chrome/browser/ui/views... File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/2062353002/diff/80001/chrome/browser/ui/views... chrome/browser/ui/views/frame/browser_view.cc:226: // artifacts, so we recreate the contents container base color here. The detached background color no longer exists, and the NTP background color can't be transparent, so this comment is no longer correct. Maybe: The detached bar overlaps the |contents_container_| and so uses the same background color (the NTP background color).
Thx for the review, all done in Patch Set 6. https://codereview.chromium.org/2062353002/diff/80001/chrome/browser/themes/b... File chrome/browser/themes/browser_theme_pack.cc (right): https://codereview.chromium.org/2062353002/diff/80001/chrome/browser/themes/b... chrome/browser/themes/browser_theme_pack.cc:797: case ThemeProperties::COLOR_NTP_BACKGROUND: On 2016/07/11 01:41:57, Peter Kasting (OOO til Jul 18) wrote: > Nit: This is fine, but I probably would have just done it with an if statement > as before, which is shorter and not really less readable. Done. https://codereview.chromium.org/2062353002/diff/80001/chrome/browser/themes/b... File chrome/browser/themes/browser_theme_pack_unittest.cc (right): https://codereview.chromium.org/2062353002/diff/80001/chrome/browser/themes/b... chrome/browser/themes/browser_theme_pack_unittest.cc:453: // Verify that the theme machinery forces ntp_background color to be opaque. On 2016/07/11 01:41:58, Peter Kasting (OOO til Jul 18) wrote: > Nit: Let's combine the toolbar and NTP background color checks into one block > below the other color checks, with one comment, a la "The theme machinery forces > these colors to be opaque." Done. https://codereview.chromium.org/2062353002/diff/80001/chrome/browser/ui/views... File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/2062353002/diff/80001/chrome/browser/ui/views... chrome/browser/ui/views/frame/browser_view.cc:226: // artifacts, so we recreate the contents container base color here. On 2016/07/11 01:41:58, Peter Kasting (OOO til Jul 18) wrote: > The detached background color no longer exists, and the NTP background color > can't be transparent, so this comment is no longer correct. Maybe: > > The detached bar overlaps the |contents_container_| and so uses the same > background color (the NTP background color). Done.
The CQ bit was checked by j.isorce@samsung.com 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 j.isorce@samsung.com
The patchset sent to the CQ was uploaded after l-g-t-m from pkasting@chromium.org Link to the patchset: https://codereview.chromium.org/2062353002/#ps120001 (title: "Add brackets")
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: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presub...)
j.isorce@samsung.com changed reviewers: + ben@chromium.org, sky@chromium.org
** Presubmit ERRORS ** Missing LGTM from an OWNER for these files: chrome/browser/themes/browser_theme_pack.cc chrome/browser/themes/browser_theme_pack_unittest.cc chrome/browser/themes/theme_properties.cc chrome/browser/themes/theme_properties.h chrome/browser/themes/theme_service.cc Evan, Ben, @sky, who can review these changes ? Thx
c/b/themes lgtm https://codereview.chromium.org/2062353002/diff/120001/chrome/browser/themes/... File chrome/browser/themes/browser_theme_pack_unittest.cc (right): https://codereview.chromium.org/2062353002/diff/120001/chrome/browser/themes/... chrome/browser/themes/browser_theme_pack_unittest.cc:454: colors[ThemeProperties::COLOR_TOOLBAR] = SkColorSetARGB(255, 0, 20, 40); Just SetRGB since a == 0xff
Description was changed from ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND This fixes issues where the ntp background image was interrupted underneath the detached bookmark bar. Also the ntp_background color is now forced to be opaque even if a none opaque alpha value is provided from the theme. This prevent issues with subpixel AA which does not work on none opaque background. (and to avoid falling back to grayscale AA) Also see crbug.com/618278 BUG=618335 R=pkasting@chromium.org ========== to ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND This fixes issues where the ntp background image was interrupted underneath the detached bookmark bar. Also the ntp_background color is now forced to be opaque even if a none opaque alpha value is provided from the theme. This prevent issues with subpixel AA which does not work on none opaque background. (and to avoid falling back to grayscale AA) Also see crbug.com/618278 BUG=618335 R=pkasting@chromium.org ==========
Description was changed from ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND This fixes issues where the ntp background image was interrupted underneath the detached bookmark bar. Also the ntp_background color is now forced to be opaque even if a none opaque alpha value is provided from the theme. This prevent issues with subpixel AA which does not work on none opaque background. (and to avoid falling back to grayscale AA) Also see crbug.com/618278 BUG=618335 R=pkasting@chromium.org ========== to ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND This fixes issues where the ntp background image was interrupted underneath the detached bookmark bar. Also the ntp_background color is now forced to be opaque even if a none opaque alpha value is provided from the theme. This prevent issues with subpixel AA which does not work on none opaque background. (and to avoid falling back to grayscale AA) Also see crbug.com/618278 BUG=618335 R=estade@chromium.org, pkasting@chromium.org ==========
j.isorce@samsung.com changed reviewers: - ben@chromium.org, sky@chromium.org
Thx for the review. https://codereview.chromium.org/2062353002/diff/120001/chrome/browser/themes/... File chrome/browser/themes/browser_theme_pack_unittest.cc (right): https://codereview.chromium.org/2062353002/diff/120001/chrome/browser/themes/... chrome/browser/themes/browser_theme_pack_unittest.cc:454: colors[ThemeProperties::COLOR_TOOLBAR] = SkColorSetARGB(255, 0, 20, 40); On 2016/07/14 20:41:50, Evan Stade wrote: > Just SetRGB since a == 0xff Done.
The CQ bit was checked by j.isorce@samsung.com 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 j.isorce@samsung.com
The patchset sent to the CQ was uploaded after l-g-t-m from pkasting@chromium.org, estade@chromium.org Link to the patchset: https://codereview.chromium.org/2062353002/#ps140001 (title: "Rebase and use SetRGB everywhere")
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.or...
Message was sent while issue was closed.
Description was changed from ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND This fixes issues where the ntp background image was interrupted underneath the detached bookmark bar. Also the ntp_background color is now forced to be opaque even if a none opaque alpha value is provided from the theme. This prevent issues with subpixel AA which does not work on none opaque background. (and to avoid falling back to grayscale AA) Also see crbug.com/618278 BUG=618335 R=estade@chromium.org, pkasting@chromium.org ========== to ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND This fixes issues where the ntp background image was interrupted underneath the detached bookmark bar. Also the ntp_background color is now forced to be opaque even if a none opaque alpha value is provided from the theme. This prevent issues with subpixel AA which does not work on none opaque background. (and to avoid falling back to grayscale AA) Also see crbug.com/618278 BUG=618335 R=estade@chromium.org, pkasting@chromium.org ==========
Message was sent while issue was closed.
Committed patchset #8 (id:140001)
Message was sent while issue was closed.
CQ bit was unchecked.
Message was sent while issue was closed.
Description was changed from ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND This fixes issues where the ntp background image was interrupted underneath the detached bookmark bar. Also the ntp_background color is now forced to be opaque even if a none opaque alpha value is provided from the theme. This prevent issues with subpixel AA which does not work on none opaque background. (and to avoid falling back to grayscale AA) Also see crbug.com/618278 BUG=618335 R=estade@chromium.org, pkasting@chromium.org ========== to ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND This fixes issues where the ntp background image was interrupted underneath the detached bookmark bar. Also the ntp_background color is now forced to be opaque even if a none opaque alpha value is provided from the theme. This prevent issues with subpixel AA which does not work on none opaque background. (and to avoid falling back to grayscale AA) Also see crbug.com/618278 BUG=618335 R=estade@chromium.org, pkasting@chromium.org Committed: https://crrev.com/bb4e97590966ba4138b759b8a6450e526a24fa27 Cr-Commit-Position: refs/heads/master@{#405725} ==========
Message was sent while issue was closed.
Patchset 8 (id:??) landed as https://crrev.com/bb4e97590966ba4138b759b8a6450e526a24fa27 Cr-Commit-Position: refs/heads/master@{#405725}
Message was sent while issue was closed.
A revert of this CL (patchset #8 id:140001) has been created in https://codereview.chromium.org/2159833002/ by estade@chromium.org. The reason for reverting is: caused regression: crbug.com/628970.
Message was sent while issue was closed.
Description was changed from ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND This fixes issues where the ntp background image was interrupted underneath the detached bookmark bar. Also the ntp_background color is now forced to be opaque even if a none opaque alpha value is provided from the theme. This prevent issues with subpixel AA which does not work on none opaque background. (and to avoid falling back to grayscale AA) Also see crbug.com/618278 BUG=618335 R=estade@chromium.org, pkasting@chromium.org Committed: https://crrev.com/bb4e97590966ba4138b759b8a6450e526a24fa27 Cr-Commit-Position: refs/heads/master@{#405725} ========== to ========== Replace CONTROL_BACKGROUND and DETACHED_BOOKMARK_BAR_BACKGROUND by COLOR_NTP_BACKGROUND This fixes issues where the ntp background image was interrupted underneath the detached bookmark bar. Also the ntp_background color is now forced to be opaque even if a none opaque alpha value is provided from the theme. This prevent issues with subpixel AA which does not work on none opaque background. (and to avoid falling back to grayscale AA) Also see crbug.com/618278 BUG=618335 R=estade@chromium.org, pkasting@chromium.org Committed: https://crrev.com/bb4e97590966ba4138b759b8a6450e526a24fa27 Cr-Commit-Position: refs/heads/master@{#405725} ==========
The CQ bit was checked by j.isorce@samsung.com 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...
On 2016/07/18 16:55:16, Evan Stade wrote: > The reason for reverting is: caused regression: crbug.com/628970. To fix this regression I did this: https://codereview.chromium.org/2062353002/diff2/160001:180001/chrome/browser... In Patch Set 10, I implemented 1 and 2 from https://bugs.chromium.org/p/chromium/issues/detail?id=618335#c12 . Please have a look. Thx.
The CQ bit was unchecked by commit-bot@chromium.org
Dry run: Exceeded global retry quota
https://codereview.chromium.org/2062353002/diff/180001/chrome/browser/ui/view... File chrome/browser/ui/views/frame/browser_view.cc (right): https://codereview.chromium.org/2062353002/diff/180001/chrome/browser/ui/view... chrome/browser/ui/views/frame/browser_view.cc:230: : ThemeProperties::COLOR_NTP_BACKGROUND)); To avoid regression of https://bugs.chromium.org/p/chromium/issues/detail?id=628970. Or we can decide to break these themes since it would allow to choose a different color than the tool bar.
The CQ bit was checked by j.isorce@samsung.com 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.
On 2016/08/14 23:54:15, Julien Isorce wrote: > On 2016/07/18 16:55:16, Evan Stade wrote: > > The reason for reverting is: caused regression: crbug.com/628970. > To fix this regression I did this: > https://codereview.chromium.org/2062353002/diff2/160001:180001/chrome/browser... > > In Patch Set 10, I implemented 1 and 2 from > https://bugs.chromium.org/p/chromium/issues/detail?id=618335#c12 . > Please have a look. Thx. Please don't post new patches on CLs that have already been landed, even if reverted. It makes it very confusing later to tell what actually landed here when clicking the link from the original commit. Instead: (1) Delete the patch set here that was posted after landing (2) Upload a new CL, with the first patch being the thing that landed here (ideally, synced to current trunk), and then a second change set with what you want to land now. This makes it easy to do a diff of patch set 1 against 2 to see just the new changes.
On 2016/08/15 22:10:44, Peter Kasting wrote: > On 2016/08/14 23:54:15, Julien Isorce wrote: > > On 2016/07/18 16:55:16, Evan Stade wrote: > > > The reason for reverting is: caused regression: crbug.com/628970. > > To fix this regression I did this: > > > https://codereview.chromium.org/2062353002/diff2/160001:180001/chrome/browser... > > > > In Patch Set 10, I implemented 1 and 2 from > > https://bugs.chromium.org/p/chromium/issues/detail?id=618335#c12 . > > Please have a look. Thx. > > Please don't post new patches on CLs that have already been landed, even if > reverted. It makes it very confusing later to tell what actually landed here > when clicking the link from the original commit. > > Instead: > (1) Delete the patch set here that was posted after landing > (2) Upload a new CL, with the first patch being the thing that landed here > (ideally, synced to current trunk), and then a second change set with what you > want to land now. This makes it easy to do a diff of patch set 1 against 2 to > see just the new changes. Ah ok sorry I did not know. (Just to double check, it is not a new CL here, really just a new Patch Set) Also note that I uploaded a rebase here before the additional changes. These additional changes are the delta between patch 9 and 10. But no problem, tomorrow I will do what you suggested above.
Message was sent while issue was closed.
On 2016/08/15 23:41:21, Julien Isorce wrote: > On 2016/08/15 22:10:44, Peter Kasting wrote: > > On 2016/08/14 23:54:15, Julien Isorce wrote: > > > On 2016/07/18 16:55:16, Evan Stade wrote: > > > > The reason for reverting is: caused regression: crbug.com/628970. > > > To fix this regression I did this: > > > > > > https://codereview.chromium.org/2062353002/diff2/160001:180001/chrome/browser... > > > > > > In Patch Set 10, I implemented 1 and 2 from > > > https://bugs.chromium.org/p/chromium/issues/detail?id=618335#c12 . > > > Please have a look. Thx. > > > > Please don't post new patches on CLs that have already been landed, even if > > reverted. It makes it very confusing later to tell what actually landed here > > when clicking the link from the original commit. > > > > Instead: > > (1) Delete the patch set here that was posted after landing > > (2) Upload a new CL, with the first patch being the thing that landed here > > (ideally, synced to current trunk), and then a second change set with what you > > want to land now. This makes it easy to do a diff of patch set 1 against 2 to > > see just the new changes. > > Ah ok sorry I did not know. (Just to double check, it is not a new CL here, > really just a new Patch Set) > Also note that I uploaded a rebase here before the additional changes. > These additional changes are the delta between patch 9 and 10. > But no problem, tomorrow I will do what you suggested above. Done here https://codereview.chromium.org/2252703002
Message was sent while issue was closed.
On 2016/08/16 15:50:44, Julien Isorce wrote: > On 2016/08/15 23:41:21, Julien Isorce wrote: > > On 2016/08/15 22:10:44, Peter Kasting wrote: > > > On 2016/08/14 23:54:15, Julien Isorce wrote: > > > > On 2016/07/18 16:55:16, Evan Stade wrote: > > > > > The reason for reverting is: caused regression: crbug.com/628970. > > > > To fix this regression I did this: > > > > > > > > > > https://codereview.chromium.org/2062353002/diff2/160001:180001/chrome/browser... > > > > > > > > In Patch Set 10, I implemented 1 and 2 from > > > > https://bugs.chromium.org/p/chromium/issues/detail?id=618335#c12 . > > > > Please have a look. Thx. > > > > > > Please don't post new patches on CLs that have already been landed, even if > > > reverted. It makes it very confusing later to tell what actually landed > here > > > when clicking the link from the original commit. > > > > > > Instead: > > > (1) Delete the patch set here that was posted after landing > > > (2) Upload a new CL, with the first patch being the thing that landed here > > > (ideally, synced to current trunk), and then a second change set with what > you > > > want to land now. This makes it easy to do a diff of patch set 1 against 2 > to > > > see just the new changes. > > > > Ah ok sorry I did not know. (Just to double check, it is not a new CL here, > > really just a new Patch Set) > > Also note that I uploaded a rebase here before the additional changes. > > These additional changes are the delta between patch 9 and 10. > > But no problem, tomorrow I will do what you suggested above. > > Done here https://codereview.chromium.org/2252703002 Oups mistake, done here https://codereview.chromium.org/2248103002 |