Bug 38029 - +[WebTextIteratorPrivate initialize] is missing call to JSC::initializeThreading()
Summary: +[WebTextIteratorPrivate initialize] is missing call to JSC::initializeThread...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebKit Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Other OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-04-22 21:15 PDT by David Kilzer (:ddkilzer)
Modified: 2010-04-23 09:14 PDT (History)
2 users (show)

See Also:


Attachments
Patch (1.39 KB, patch)
2010-04-22 21:15 PDT, David Kilzer (:ddkilzer)
timothy: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Kilzer (:ddkilzer) 2010-04-22 21:15:14 PDT
Created attachment 54126 [details]
Patch

Reviewed by NOBODY (OOPS!).

Every other Objective-C class that calls
WebCoreObjCFinalizeOnMainThread(self) in +initialize also calls
JSC::initializeThreading().  The WebTextIteratorPrivate class
was the only one missing this call.

* WebView/WebTextIterator.mm:
(+[WebTextIteratorPrivate initialize]): Added call to
JSC::initializeThreading().
---
 2 files changed, 17 insertions(+), 0 deletions(-)
Comment 1 David Kilzer (:ddkilzer) 2010-04-23 00:37:58 PDT
Committed r58156: <http://trac.webkit.org/changeset/58156>
Comment 2 Darin Adler 2010-04-23 09:14:47 PDT
Sounds like we need a helper function that does both.