webengine/osswebengine/WebCore/html/HTMLTokenizer.cpp
changeset 10 a359256acfc6
parent 1 7c90e6132015
child 46 30342f40acbf
equal deleted inserted replaced
5:10e98eab6f85 10:a359256acfc6
  1595 #endif
  1595 #endif
  1596     
  1596     
  1597     inWrite = wasInWrite;
  1597     inWrite = wasInWrite;
  1598 
  1598 
  1599     m_state = state;
  1599     m_state = state;
       
  1600     // Flush remaining text if doing a document.write.
       
  1601     if (!appendData && buffer && !m_state.hasTagState())
       
  1602         processToken();
  1600 
  1603 
  1601     if (noMoreData && !inWrite && !state.loadingExtScript() && !m_executingScript && !m_timer.isActive()) {
  1604     if (noMoreData && !inWrite && !state.loadingExtScript() && !m_executingScript && !m_timer.isActive()) {
  1602         end(); // this actually causes us to be deleted
  1605         end(); // this actually causes us to be deleted
  1603         return true;
  1606         return true;
  1604     }
  1607     }