| Index: third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.cpp b/third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.cpp
|
| index b3f567577cc9323c14c4c6648a2ffe1436bb7d93..525ac2db3005cf1e54036a912117d391516bb958 100644
|
| --- a/third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.cpp
|
| +++ b/third_party/WebKit/Source/core/html/parser/HTMLViewSourceParser.cpp
|
| @@ -73,7 +73,10 @@ void HTMLViewSourceParser::finish()
|
| {
|
| if (!m_input.haveSeenEndOfFile())
|
| m_input.markEndOfFile();
|
| - pumpTokenizer();
|
| +
|
| + if (!isDetached())
|
| + pumpTokenizer();
|
| +
|
| document()->finishedParsing();
|
| }
|
|
|
|
|