This repository has been archived by the owner on Apr 3, 2020. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Backport upstream r210813 to fix Aura color chooser crash on Debug build
Origin commit log: Do not send OnColorChosen when initialized. keishi pointed out that ColorChooserView somehow sends OnColorChosen in its constructor which may cause a failure on DCHECK() in renderer. The constructor calls OnColorChanged() which calls OnSaturationValueChanged() which actually calls OnColorChosen(). Actually this is a mistake, OnColorChosen() should be called only when the user takes some action (like mouse click) and HueView works like that. BUG=258221 [email protected] Review URL: https://chromiumcodereview.appspot.com/18945002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@210813 0039d316-1c4b-4281-b951-d872f2087c98
- Loading branch information