| Index: Source/core/editing/SpellingCorrectionCommand.cpp
|
| diff --git a/Source/core/editing/SpellingCorrectionCommand.cpp b/Source/core/editing/SpellingCorrectionCommand.cpp
|
| index 07bf705c4d926ce832a946356ab33bfd8b6b9f3e..282f70bb2647397129c646335874d0fb31bb589a 100644
|
| --- a/Source/core/editing/SpellingCorrectionCommand.cpp
|
| +++ b/Source/core/editing/SpellingCorrectionCommand.cpp
|
| @@ -35,7 +35,7 @@
|
| namespace WebCore {
|
|
|
| SpellingCorrectionCommand::SpellingCorrectionCommand(PassRefPtr<Range> rangeToBeCorrected, const String& correction)
|
| - : CompositeEditCommand(rangeToBeCorrected->startContainer()->document())
|
| + : CompositeEditCommand(&rangeToBeCorrected->startContainer()->document())
|
| , m_rangeToBeCorrected(rangeToBeCorrected)
|
| , m_selectionToBeCorrected(m_rangeToBeCorrected.get())
|
| , m_correction(correction)
|
|
|