Commit d68af9fb authored by Biao She's avatar Biao She Committed by Commit Bot

Remove speech_result->SetSize(kSuggestionTextFieldWidth, 0)

The size is set earlier as speech_result->SetSize(kVoiceSearchRecognitionResultTextWidth, 0)
The removed code is creeped in after a rebase.

Bug: NONE
TBR: cjgrant
Cq-Include-Trybots: master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.linux:linux_optional_gpu_tests_rel;master.tryserver.chromium.mac:mac_optional_gpu_tests_rel;master.tryserver.chromium.win:win_optional_gpu_tests_rel
Change-Id: I8a92d8bc5b26fe9445230af9fbed95090049c33f
Reviewed-on: https://chromium-review.googlesource.com/802794Reviewed-by: default avatarBiao She <bshe@chromium.org>
Commit-Queue: Biao She <bshe@chromium.org>
Cr-Commit-Position: refs/heads/master@{#520818}
parent 55c5863a
...@@ -748,7 +748,6 @@ void UiSceneCreator::CreateVoiceSearchUiGroup() { ...@@ -748,7 +748,6 @@ void UiSceneCreator::CreateVoiceSearchUiGroup() {
speech_result->set_hit_testable(false); speech_result->set_hit_testable(false);
speech_result->SetSize(kVoiceSearchRecognitionResultTextWidth, 0); speech_result->SetSize(kVoiceSearchRecognitionResultTextWidth, 0);
speech_result->SetTextAlignment(UiTexture::kTextAlignmentCenter); speech_result->SetTextAlignment(UiTexture::kTextAlignmentCenter);
speech_result->SetSize(kSuggestionTextFieldWidth, 0);
BindColor(model_, speech_result.get(), &ColorScheme::prompt_foreground, BindColor(model_, speech_result.get(), &ColorScheme::prompt_foreground,
&Text::SetColor); &Text::SetColor);
speech_result->AddBinding(VR_BIND_FUNC(base::string16, Model, model_, speech_result->AddBinding(VR_BIND_FUNC(base::string16, Model, model_,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment