Home
last modified time | relevance | path

Searched refs:rebalancedString (Results 1 – 2 of 2) sorted by relevance

/external/chromium_org/third_party/WebKit/Source/core/editing/
Dhtmlediting.cpp366 StringBuilder rebalancedString; in stringWithRebalancedWhitespace() local
367 rebalancedString.reserveCapacity(length); in stringWithRebalancedWhitespace()
373 rebalancedString.append(c); in stringWithRebalancedWhitespace()
379 rebalancedString.append(noBreakSpace); in stringWithRebalancedWhitespace()
382 rebalancedString.append(' '); in stringWithRebalancedWhitespace()
387 ASSERT(rebalancedString.length() == length); in stringWithRebalancedWhitespace()
389 return rebalancedString.toString(); in stringWithRebalancedWhitespace()
DCompositeEditCommand.cpp688 String rebalancedString = stringWithRebalancedWhitespace(string, in rebalanceWhitespaceOnTextSubstring() local
694 if (string != rebalancedString) in rebalanceWhitespaceOnTextSubstring()
695 replaceTextInNodePreservingMarkers(textNode.release(), upstream, length, rebalancedString); in rebalanceWhitespaceOnTextSubstring()