Bug 1300996 - Part 2: Show preview text on and highlight the fields that would be filled. r=MattN, lchang
MozReview-Commit-ID: DMgVhz2lvZ1
This commit is contained in:
@@ -2817,9 +2817,6 @@ nsTextEditorState::UpdatePlaceholderText(bool aNotify)
|
||||
void
|
||||
nsTextEditorState::SetPreviewText(const nsAString& aValue, bool aNotify)
|
||||
{
|
||||
MOZ_ASSERT(mPreviewDiv, "This function should not be called if "
|
||||
"mPreviewDiv isn't set");
|
||||
|
||||
// If we don't have a preview div, there's nothing to do.
|
||||
if (!mPreviewDiv)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user