Bug 119960

Summary: Remove some optimizations made obsolete by use of StringBuilder
Product: WebKit Reporter: Antti Koivisto <koivisto>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: commit-queue, esprehn+autocc, kangil.han
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
pathc kling: review+

Antti Koivisto
Reported 2013-08-17 14:36:27 PDT
Foo.
Attachments
pathc (3.24 KB, patch)
2013-08-17 14:41 PDT, Antti Koivisto
kling: review+
Antti Koivisto
Comment 1 2013-08-17 14:41:54 PDT
Andreas Kling
Comment 2 2013-08-17 14:48:02 PDT
Comment on attachment 209009 [details] pathc View in context: https://bugs.webkit.org/attachment.cgi?id=209009&action=review r=me with the cool stories we shared on IRC. We should clean this up in StyleElement::process(), too. > Source/WebCore/dom/ScriptElement.cpp:399 > + for (Text* textNode = TextNodeTraversal::firstChild(m_element); textNode; textNode = TextNodeTraversal::nextSibling(textNode)) > + content.append(textNode->data()); Can't you use TextNodeTraversal::contentsAsString() instead here?
Antti Koivisto
Comment 3 2013-08-17 15:04:51 PDT
Note You need to log in before you can comment on or make changes to this bug.