summaryrefslogtreecommitdiff
path: root/fxjs/cjs_publicmethods_embeddertest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxjs/cjs_publicmethods_embeddertest.cpp')
-rw-r--r--fxjs/cjs_publicmethods_embeddertest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/fxjs/cjs_publicmethods_embeddertest.cpp b/fxjs/cjs_publicmethods_embeddertest.cpp
index 9413aa6a46..38604555ae 100644
--- a/fxjs/cjs_publicmethods_embeddertest.cpp
+++ b/fxjs/cjs_publicmethods_embeddertest.cpp
@@ -224,10 +224,10 @@ TEST_F(CJS_PublicMethodsEmbedderTest, AFNumber_Keystroke) {
WideString change = L"";
handler->m_pValue = &result;
- handler->m_pbRc = &valid;
- handler->m_pWideStrChange = &change;
+ handler->SetRCForTest(&valid);
+ handler->SetStrChangeForTest(&change);
- handler->m_bWillCommit = 0;
+ handler->ResetWillCommitForTest();
handler->SetSelStart(0);
handler->SetSelEnd(0);
@@ -245,6 +245,6 @@ TEST_F(CJS_PublicMethodsEmbedderTest, AFNumber_Keystroke) {
// Keep the *SAN bots happy. One of these is an UnownedPtr, another seems to
// used during destruction. Clear them all to be safe and consistent.
handler->m_pValue = nullptr;
- handler->m_pbRc = nullptr;
- handler->m_pWideStrChange = nullptr;
+ handler->SetRCForTest(nullptr);
+ handler->SetStrChangeForTest(nullptr);
}