Skip to content
This repository has been archived by the owner on Apr 3, 2020. It is now read-only.

Commit

Permalink
Merge pull request #59 from crosswalk-project/backport
Browse files Browse the repository at this point in the history
Backport upstream r210813 to fix Aura color chooser crash on Debug build
  • Loading branch information
Kenneth Rohde Christiansen committed Sep 5, 2013
2 parents 805a3ae + ad6709e commit 30efd9a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ui/views/color_chooser/color_chooser_view.cc
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,6 @@ void ColorChooserView::SaturationValueView::OnSaturationValueChanged(
marker_position_.set_x(x);
marker_position_.set_y(y);
SchedulePaint();
chooser_view_->OnSaturationValueChosen(saturation, value);
}

void ColorChooserView::SaturationValueView::ProcessEventAtLocation(
Expand All @@ -269,6 +268,7 @@ void ColorChooserView::SaturationValueView::ProcessEventAtLocation(
saturation = SkScalarPin(saturation, 0, SK_Scalar1);
value = SkScalarPin(value, 0, SK_Scalar1);
OnSaturationValueChanged(saturation, value);
chooser_view_->OnSaturationValueChosen(saturation, value);
}

gfx::Size ColorChooserView::SaturationValueView::GetPreferredSize() {
Expand Down

0 comments on commit 30efd9a

Please sign in to comment.